Celeritas  0.5.0-56+6b053cd
Public Member Functions | List of all members
celeritas::optical::MfpBuilder Class Reference

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.
 

Detailed Description

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.

Member Function Documentation

◆ operator()()

template<typename... Args>
void celeritas::optical::MfpBuilder::operator() ( Args const &...  args)
inline

Build the grid.

Passes its arguments directly to a GenericGridInserter.


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