Celeritas 0.6.0-rc.2.10+develop.de0a3a05
|
Manage data and help construction of physics value grids. More...
#include <UniformGridInserter.hh>
Public Types | |
Type aliases | |
using | GridId = ItemId< UniformGridRecord > |
using | GridValues = Collection< UniformGridRecord, 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 | |
UniformGridInserter (Values *reals, GridValues *grids) | |
Construct with a reference to mutable host data. | |
GridId | operator() (UniformGridData const &grid, SpanConstDbl values) |
Add a grid of physics data. | |
GridId | operator() (UniformGridData const &grid, SpanConstFlt values) |
Add a grid of physics data. | |
template<class T > | |
auto | insert (UniformGridData const &grid, Span< T const > values) -> GridId |
Add a grid of physics data. | |
Manage data and help construction of physics value grids.