Celeritas 0.6.0-rc.2.10+develop.de0a3a05
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
celeritas::test::CalculatorTestBase Class Reference

Test harness base class for interpolating values on grids. More...

#include <CalculatorTestBase.hh>

Inheritance diagram for celeritas::test::CalculatorTestBase:
Inheritance graph
[legend]

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 constdata () const
 
Data constvalues () const
 
- Public Member Functions inherited from celeritas::test::Test
std::string make_unique_filename (std::string_view ext={})
 Generate test-unique filename.
 

Additional Inherited Members

- Static Public Member Functions inherited from celeritas::test::Test
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 Public Attributes inherited from celeritas::test::Test
static constexpr double inf = HUGE_VAL
 
static constexpr float inff = HUGE_VALF
 
static constexpr double coarse_eps = 1e-6
 

Detailed Description

Test harness base class for interpolating values on grids.


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