Celeritas 0.6.0-dev.116+3fbab5e0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::XsGridInserter Class Reference

Manage data and help construction of physics cross section grids. More...

#include <XsGridInserter.hh>

Public Types

Type aliases
using GridId = ItemId< XsGridRecord >
 
using GridValues = Collection< XsGridRecord, Ownership::value, MemSpace::host >
 
using Values = Collection< real_type, Ownership::value, MemSpace::host >
 
using SpanConstDbl = Span< double const >
 
using SpanConstFlt = Span< float const >
 

Public Member Functions

 XsGridInserter (Values *reals, GridValues *grids)
 Construct with a reference to mutable host data.
 
GridId operator() (UniformGridData const &lower_grid, SpanConstDbl lower_values, UniformGridData const &upper_grid, SpanConstDbl upper_values)
 Add a grid of physics xs data.
 
GridId operator() (UniformGridData const &lower_grid, SpanConstFlt lower_values, UniformGridData const &upper_grid, SpanConstFlt upper_values)
 Add a grid of physics xs data.
 
GridId operator() (UniformGridData const &grid, SpanConstDbl values)
 Add a grid of log-spaced data without 1/E scaling.
 
GridId operator() (UniformGridData const &grid, SpanConstFlt values)
 Add a grid of log-spaced data without 1/E scaling.
 
template<class T >
auto insert (UniformGridData const &lower_grid, Span< T const > lower_values, UniformGridData const &upper_grid, Span< T const > upper_values) -> GridId
 Add a grid of physics xs data.
 

Detailed Description

Manage data and help construction of physics cross section grids.


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