Celeritas  0.5.0-86+4a8eea4
Public Member Functions | Static Public Member Functions | List of all members
celeritas::ValueGridXsBuilder Class Referencefinal

Build a physics array for EM process cross sections. More...

#include <ValueGridBuilder.hh>

Inheritance diagram for celeritas::ValueGridXsBuilder:
Inheritance graph
[legend]

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< ValueGridXsBuilderfrom_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< ValueGridXsBuilderfrom_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
 
ValueGridBuilderoperator= (ValueGridBuilder const &)=default
 
 ValueGridBuilder (ValueGridBuilder &&)=default
 
ValueGridBuilderoperator= (ValueGridBuilder &&)=default
 

Detailed Description

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.


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