Celeritas 0.6.0-rc.2.10+develop.de0a3a05
|
Test harness base class for interpolating values on grids. More...
#include <CalculatorTestBase.hh>
Classes | |
struct | GridInput |
Public Types | |
Type aliases | |
using | BC = SplineDerivCalculator::BoundaryCondition |
using | Values = Collection< real_type, Ownership::value, MemSpace::host > |
using | Data = Collection< real_type, Ownership::const_reference, MemSpace::host > |
using | SpanReal = Span< real_type > |
using | VecReal = std::vector< real_type > |
Public Member Functions | |
void | build (GridInput grid, GridInput grid_scaled) |
void | build_spline (GridInput grid, GridInput grid_scaled, BC bc) |
void | build (GridInput grid) |
void | build_spline (GridInput grid, BC bc) |
XsGridRecord const & | data () const |
Data const & | values () const |
![]() | |
std::string | make_unique_filename (std::string_view ext={}) |
Generate test-unique filename. | |
Additional Inherited Members | |
![]() | |
static std::string | test_data_path (std::string_view subdir, std::string_view filename) |
Get the path to a test file at {source}/test/{subdir}/data/{filename} . | |
static std::string | genericize_pointers (std::string_view s) |
Replace pointer addresses with 0x0 for improved testability. | |
static bool | strict_testing () |
True if strict testing is required. | |
![]() | |
static constexpr double | inf = HUGE_VAL |
static constexpr float | inff = HUGE_VALF |
static constexpr double | coarse_eps = 1e-6 |
Test harness base class for interpolating values on grids.