Celeritas 0.7.0-dev.233+develop.421c45ed
Loading...
Searching...
No Matches
Enumerations | Functions
GridTypes.hh File Reference
#include "corecel/Macros.hh"

Enumerations

enum class  celeritas::Bound : unsigned char { lo , hi , size_ }
 Which of two bounding points, faces, energies, etc. More...
 
enum class  celeritas::Interp { linear , log , size_ }
 Interpolation type.
 
enum class  celeritas::InterpolationType { linear , poly_spline , cubic_spline , size_ }
 Interpolation for physics grids. More...
 
enum class  celeritas::SplineBoundaryCondition { natural = 0 , not_a_knot , geant , size_ }
 Cubic spline interpolation boundary conditions. More...
 

Functions

constexpr int celeritas::to_int (Bound b)
 Convert Bound enum value to int.
 
char constceleritas::to_cstring (InterpolationType value)
 Get a string corresponding to the interpolation method.
 

Enumeration Type Documentation

◆ Bound

enum class celeritas::Bound : unsigned char
strong

Which of two bounding points, faces, energies, etc.

Here, lo/hi can correspond to left/right, back/front, bottom/top. It's used for the two points in a bounding box.

◆ InterpolationType

enum class celeritas::InterpolationType
strong

Interpolation for physics grids.

Enumerator
poly_spline 

Piecewise polynomial interpolation.

cubic_spline 

Cubic spline interpolation with \( C^2 \) continuity.

◆ SplineBoundaryCondition

Cubic spline interpolation boundary conditions.

Enumerator
geant 

Geant4's "not-a-knot".