Celeritas
0.5.0-56+6b053cd
|
#include "corecel/data/Collection.hh"
#include "celeritas/UnitTypes.hh"
#include "celeritas/grid/GenericGridData.hh"
#include "celeritas/io/ImportOpticalMaterial.hh"
#include "celeritas/io/ImportOpticalModel.hh"
#include "celeritas/io/ImportPhysicsVector.hh"
#include "celeritas/optical/ImportedModelAdapter.hh"
#include "celeritas/optical/MaterialParams.hh"
#include "celeritas/optical/MfpBuilder.hh"
#include "Test.hh"
Classes | |
class | celeritas::optical::test::MockImportedData |
Imported mock optical data. More... | |
struct | celeritas::optical::test::detail::ElectronVolt |
Useful unit for working in optical physics scales. More... | |
Namespaces | |
celeritas::optical | |
Physics classes used inside the optical physics loop. | |
Functions | |
template<class GridUnit , class ValueUnit > | |
std::vector< ImportPhysicsVector > | celeritas::optical::test::detail::convert_vector_units (std::vector< std::vector< double >> const &grid, std::vector< std::vector< double >> const &value) |
Takes a list of grids and values in the specified template units, and converts to an ImportPhysicsVector of in Celeritas' units. More... | |
std::vector<ImportPhysicsVector> celeritas::optical::test::detail::convert_vector_units | ( | std::vector< std::vector< double >> const & | grid, |
std::vector< std::vector< double >> const & | value | ||
) |
Takes a list of grids and values in the specified template units, and converts to an ImportPhysicsVector of in Celeritas' units.
The grid x units are returned in [MeV] rather than native, matching the usual unit for imported grids.