Celeritas
0.5.0-56+6b053cd
|
Build a physics array for EM process cross sections. More...
#include <ValueGridBuilder.hh>
Public Types | |
Type aliases | |
using | SpanConstDbl = Span< double const > |
using | VecDbl = std::vector< double > |
Public Types inherited from celeritas::ValueGridBuilder | |
using | ValueGridId = ItemId< struct XsGridData > |
Public Member Functions | |
ValueGridXsBuilder (double emin, double eprime, double emax, VecDbl xs) | |
Construct from raw data. | |
ValueGridId | build (ValueGridInserter) const final |
Construct on device. | |
Public Member Functions inherited from celeritas::ValueGridBuilder | |
virtual | ~ValueGridBuilder ()=0 |
Virtual destructor for polymorphic deletion. More... | |
Static Public Member Functions | |
static std::unique_ptr< ValueGridXsBuilder > | from_geant (SpanConstDbl lambda_energy, SpanConstDbl lambda, SpanConstDbl lambda_prim_energy, SpanConstDbl lambda_prim) |
Construct XS arrays from imported data from Geant4. | |
static std::unique_ptr< ValueGridXsBuilder > | from_scaled (SpanConstDbl lambda_prim_energy, SpanConstDbl lambda_prim) |
Construct XS arrays from scaled (*E) data from Geant4. | |
Additional Inherited Members | |
Protected Member Functions inherited from celeritas::ValueGridBuilder | |
ValueGridBuilder (ValueGridBuilder const &)=default | |
ValueGridBuilder & | operator= (ValueGridBuilder const &)=default |
ValueGridBuilder (ValueGridBuilder &&)=default | |
ValueGridBuilder & | operator= (ValueGridBuilder &&)=default |
Build a physics array for EM process cross sections.
This array has a uniform grid in log(E) and a special value at or above which the input cross sections are scaled by E.