|
Celeritas 0.7.0-dev.305+develop.e69b8227
|

Public Types | |
| using | MagFieldT = MagneticField< LinearMagFieldParams, LinearMagField > |
| using | Dbl3 = Array< double, 3 > |
Public Member Functions | |
| void | SetUp () |
| G4MagneticField const & | g4field () const |
| template<class T > | |
| void | check_field (G4MagneticField const &actual, Dbl3 const &pos, T cmp) const |
Public Member Functions inherited from celeritas::test::Test | |
| virtual std::string | make_unique_filename (std::string_view ext) |
| Generate test-unique filename. | |
| std::string | make_unique_filename () |
Static Public Member Functions | |
| static Dbl3 | calc_field (G4MagneticField const &field, Dbl3 const &pos) |
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 bool | strict_testing () |
| True if strict testing is required. | |
Protected Attributes | |
| std::unique_ptr< MagFieldT > | g4field_ |
Additional Inherited Members | |
Static Public Attributes inherited from celeritas::test::Test | |
| static constexpr double | inf = HUGE_VAL |
| static constexpr float | inff = HUGE_VALF |
| static constexpr double | fine_eps = 1e-12 |
| static constexpr double | coarse_eps = 1e-6 |