Celeritas  0.5.0-56+6b053cd
Classes | Namespaces | Typedefs | Functions
MockImportedData.cc File Reference
#include "MockImportedData.hh"
#include "TestMacros.hh"

Classes

struct  celeritas::optical::test::MeterCubedPerMeV
 

Namespaces

 celeritas::optical
 Physics classes used inside the optical physics loop.
 

Typedefs

using celeritas::optical::test::IsothermalCompressibility = Quantity< MeterCubedPerMeV >
 

Functions

template<typename T >
std::vector< real_type > celeritas::optical::test::convert_to_reals (std::vector< T > const &xs)
 Convert vector of some floating type to a vector of reals.
 
std::vector< ImportPhysicsVector > celeritas::optical::test::mock_vec (std::vector< unsigned int > const &grid_indices, std::vector< unsigned int > const &value_indices)
 Create some mock physics vectors. More...
 

Function Documentation

◆ mock_vec()

std::vector<ImportPhysicsVector> celeritas::optical::test::mock_vec ( std::vector< unsigned int > const &  grid_indices,
std::vector< unsigned int > const &  value_indices 
)

Create some mock physics vectors.

For x grid: i = 0,1: size = 2 i = 2,3: size = 3

For y values: j = 0,1,2: size = 2 j = 3,4: size = 3