|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
Inherits testing::Test.

Protected Member Functions | |
| void | SetUp () override |
| void | TearDown () override |
| void | createParticles (size_t n) |
Creates n particles with random P values in [0.1, 0.9] and R in mesh interior. | |
| void | createParticlesUniformP (size_t n, int axis, TestT pMin, TestT pMax) |
Creates n particles where P[axis] is uniformly spread in [pMin, pMax]. | |
| void | buildAdaptBins (bin_index_type maxBins=5, value_type alpha=1.0, value_type beta=1.0, value_type desW=0.1, const std::string &binningCmdName="TEST_BINNING_CMD") |
| Build an AdaptBins with given parameters. | |
Static Protected Member Functions | |
| static void | SetUpTestSuite () |
| static void | TearDownTestSuite () |
Protected Attributes | |
| std::unique_ptr< TestMesh_t > | mesh |
| std::unique_ptr< TestFL_t > | fl |
| std::unique_ptr< TestPLayout_t > | playout |
| std::shared_ptr< Container_t > | bunch |
| std::shared_ptr< AdaptBins_t > | adaptBins |
Static Protected Attributes | |
| static constexpr size_t | gridPoints = 32 |
| static constexpr TestT | domainLen = 1.0 |
Definition at line 100 of file TestBinning.cpp.
|
inlineprotected |
Build an AdaptBins with given parameters.
Definition at line 203 of file TestBinning.cpp.
|
inlineprotected |
Creates n particles with random P values in [0.1, 0.9] and R in mesh interior.
Definition at line 152 of file TestBinning.cpp.
|
inlineprotected |
Creates n particles where P[axis] is uniformly spread in [pMin, pMax].
Definition at line 177 of file TestBinning.cpp.
|
inlineoverrideprotected |
Definition at line 121 of file TestBinning.cpp.
References bunch, domainLen, fl, gridPoints, mesh, playout, and TestDim.
|
inlinestaticprotected |
Definition at line 102 of file TestBinning.cpp.
|
inlineoverrideprotected |
|
inlinestaticprotected |
Definition at line 108 of file TestBinning.cpp.
|
protected |
Definition at line 115 of file TestBinning.cpp.
Referenced by buildAdaptBins(), and TearDown().
|
protected |
Definition at line 114 of file TestBinning.cpp.
Referenced by buildAdaptBins(), createParticles(), createParticlesUniformP(), SetUp(), and TearDown().
|
staticconstexprprotected |
Definition at line 119 of file TestBinning.cpp.
Referenced by SetUp().
|
protected |
Definition at line 112 of file TestBinning.cpp.
Referenced by SetUp(), and TearDown().
|
staticconstexprprotected |
Definition at line 118 of file TestBinning.cpp.
Referenced by SetUp().
|
protected |
Definition at line 111 of file TestBinning.cpp.
Referenced by SetUp(), and TearDown().
|
protected |
Definition at line 113 of file TestBinning.cpp.
Referenced by SetUp(), and TearDown().