Celeritas 0.7.0-dev.127+develop.e63889793
Loading...
Searching...
No Matches
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< NonuniformGridRecord >
 
using GridInserter = NonuniformGridInserter< GridId >
 
using GridIdRange = Range< GridId >
 
using Values = typename GridInserter::Values
 
using GridValues = typename GridInserter::GridValues
 

Public Member Functions

 MfpBuilder (Values *real_data, GridValues *grid_data)
 Construct with given collections.
 
void operator() (inp::Grid const &grid)
 Build a grid.
 
void operator() ()
 Build an empty grid for zero interaction probability.
 
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.


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