Celeritas 0.6.0-rc.2.10+develop.de0a3a05
|
Build a physics array for EM process cross sections. More...
#include <ValueGridBuilder.hh>
Classes | |
struct | GridInput |
Public Types | |
Type aliases | |
using | SpanConstDbl = Span< double const > |
using | VecDbl = std::vector< double > |
![]() | |
using | ValueGridId = ItemId< struct XsGridRecord > |
Public Member Functions | |
ValueGridXsBuilder (GridInput grid, GridInput grid_prime) | |
Construct from raw data. | |
ValueGridId | build (XsGridInserter) const final |
Construct on device. | |
![]() | |
virtual | ~ValueGridBuilder ()=0 |
Virtual destructor for polymorphic deletion. | |
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 | |
![]() | |
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.
|
finalvirtual |
Construct on device.
Implements celeritas::ValueGridBuilder.