Celeritas
0.5.0-86+4a8eea4
|
Helper class for optical models to build MFP tables. More...
#include <MfpBuilder.hh>
Public Types | |
Type aliases | |
using | GridId = OpaqueId< GenericGridRecord > |
using | GridInserter = GenericGridInserter< GridId > |
using | GridIdRange = Range< GridId > |
using | RealCollection = typename GridInserter::RealCollection |
using | GridCollection = typename GridInserter::GenericGridCollection |
Public Member Functions | |
MfpBuilder (RealCollection *real_data, GridCollection *grid_data) | |
Construct with given collections. | |
template<typename... Args> | |
void | operator() (Args const &... args) |
Build the grid. More... | |
GridIdRange | grid_ids () const |
Get the range of grid IDs that have been built. | |
Helper class for optical models to build MFP tables.
Tracks individual grid IDs that have been built, and returns them as an ItemRange which may be used by model MFP tables.
|
inline |
Build the grid.
Passes its arguments directly to a GenericGridInserter.