|
Celeritas 0.7.0-dev.189+develop.42ba4463e
|
Data input for a uniform increasing grid. More...
#include <UniformGridData.hh>
Public Types | |
| using | value_type = ::celeritas::real_type |
Public Member Functions | |
| CELER_FUNCTION | operator bool () const |
| True if assigned and valid. | |
Static Public Member Functions | |
| static UniformGridData | from_bounds (EnumArray< Bound, double > bounds, size_type size) |
| Construct from min/max and number of grid points. | |
Public Attributes | |
| size_type | size {} |
| Number of grid edges/points. | |
| value_type | front {} |
| Value of first grid point. | |
| value_type | back {} |
| Value of last grid point. | |
| value_type | delta {} |
| Grid cell width. | |
Data input for a uniform increasing grid.
The four parameters are overconstrained – we could omit back by calculating from the front, delta, and size. In practice, though, that can introduce an inconsistency into the "find" function.