Celeritas 0.6.0-dev.116+3fbab5e0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
celeritas::UniformGridRecord Struct Reference

Parameterization of a discrete scalar field on a given 1D grid. More...

#include <UniformGridData.hh>

Public Member Functions

CELER_FUNCTION operator bool () const
 Whether the record is initialized and valid.
 

Public Attributes

UniformGridData grid
 
ItemRange< real_typevalue
 
ItemRange< real_typederivative
 
size_type spline_order {1}
 

Detailed Description

Parameterization of a discrete scalar field on a given 1D grid.

derivative stores the second derivative of the interpolating cubic spline. If it is non-empty, cubic spline interpolation will be used.

spline_order stores the order of the piecewise polynomials used for spline interpolation without continuous derivatives. The order must be smaller than the grid size for effective spline interpolation. If the order is set to 1, linear or cubic spline interpolation will be used.


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