Celeritas  0.5.0-56+6b053cd
Public Attributes | List of all members
celeritas::FindInterp< T > Struct Template Reference

Result of finding a point on a grid for interpolating. More...

#include <FindInterp.hh>

Public Attributes

size_type index {}
 Lower index into the grid.
 
fraction {}
 Fraction of the value between its neighbors.
 

Detailed Description

template<class T>
struct celeritas::FindInterp< T >

Result of finding a point on a grid for interpolating.

The resulting index will be in [0, grid.size() - 1) and the fraction will be in [0, 1).


The documentation for this struct was generated from the following file: