|
Peano
|
Functions | |
| template<typename ParticleContainer > | |
| void | checkDastgen (ParticleContainer &assignedParticles) |
| Main testing function. | |
| void | checkBooleans (tests::swift2::dastgenTest::globaldata::dummyPart &particle) |
| Perform all the checks on a particle's boolean members. | |
| void | checkDoubles (tests::swift2::dastgenTest::globaldata::dummyPart &particle) |
| Perform all the checks on a particle's double members. | |
| void | checkEnums (tests::swift2::dastgenTest::globaldata::dummyPart &particle) |
| Perform all the checks on a particle's enum members. | |
| void | checkIntegers (tests::swift2::dastgenTest::globaldata::dummyPart &particle) |
| Perform all the checks on a particle's integer members. | |
| void | checkStrings (tests::swift2::dastgenTest::globaldata::dummyPart &particle) |
| Perform all the checks on a particle's string members. | |
| void | checkBooleanArrays (tests::swift2::dastgenTest::globaldata::dummyPart &particle) |
| Perform all the checks on a particle's boolean array members. | |
| void | checkDoubleArrays (tests::swift2::dastgenTest::globaldata::dummyPart &particle) |
| Perform all the checks on a particle's double array members. | |
| void | checkIntegerArrays (tests::swift2::dastgenTest::globaldata::dummyPart &particle) |
| Perform all the checks on a particle's integer array members. | |
| void | checkPeanoDoubleArrays (tests::swift2::dastgenTest::globaldata::dummyPart &particle) |
| Perform all the checks on a particle's double array members. | |
| void | checkPeanoIntegerArrays (tests::swift2::dastgenTest::globaldata::dummyPart &particle) |
| Perform all the checks on a particle's integer array members. | |
| void | checkUserDefinedType (tests::swift2::dastgenTest::globaldata::dummyPart &particle) |
| Perform all the checks on a particle's user defined types. | |
| void | checkConstructors () |
| Check the constructor methods. | |
| template<typename Particle > | |
| void | dummyMoveForwardInTime () |
| A dummy function to move the simulation forward in time. | |
| template<typename Particle > | |
| void | reportStep (const std::string &particleName) |
| Report time-step size and current time at the end of a step. | |
| void swift2::dastgenTest::checkBooleanArrays | ( | tests::swift2::dastgenTest::globaldata::dummyPart & | particle | ) |
Perform all the checks on a particle's boolean array members.
| void swift2::dastgenTest::checkBooleans | ( | tests::swift2::dastgenTest::globaldata::dummyPart & | particle | ) |
Perform all the checks on a particle's boolean members.
| void swift2::dastgenTest::checkConstructors | ( | ) |
Check the constructor methods.
| void swift2::dastgenTest::checkDastgen | ( | ParticleContainer & | assignedParticles | ) |
Main testing function.
Should call getters and setters for all available variables, where applicable. Also try constructor versions of particles.
| void swift2::dastgenTest::checkDoubleArrays | ( | tests::swift2::dastgenTest::globaldata::dummyPart & | particle | ) |
Perform all the checks on a particle's double array members.
| void swift2::dastgenTest::checkDoubles | ( | tests::swift2::dastgenTest::globaldata::dummyPart & | particle | ) |
Perform all the checks on a particle's double members.
| void swift2::dastgenTest::checkEnums | ( | tests::swift2::dastgenTest::globaldata::dummyPart & | particle | ) |
Perform all the checks on a particle's enum members.
| void swift2::dastgenTest::checkIntegerArrays | ( | tests::swift2::dastgenTest::globaldata::dummyPart & | particle | ) |
Perform all the checks on a particle's integer array members.
| void swift2::dastgenTest::checkIntegers | ( | tests::swift2::dastgenTest::globaldata::dummyPart & | particle | ) |
Perform all the checks on a particle's integer members.
| void swift2::dastgenTest::checkPeanoDoubleArrays | ( | tests::swift2::dastgenTest::globaldata::dummyPart & | particle | ) |
Perform all the checks on a particle's double array members.
| void swift2::dastgenTest::checkPeanoIntegerArrays | ( | tests::swift2::dastgenTest::globaldata::dummyPart & | particle | ) |
Perform all the checks on a particle's integer array members.
| void swift2::dastgenTest::checkStrings | ( | tests::swift2::dastgenTest::globaldata::dummyPart & | particle | ) |
Perform all the checks on a particle's string members.
| void swift2::dastgenTest::checkUserDefinedType | ( | tests::swift2::dastgenTest::globaldata::dummyPart & | particle | ) |
Perform all the checks on a particle's user defined types.
| void swift2::dastgenTest::dummyMoveForwardInTime | ( | ) |
A dummy function to move the simulation forward in time.
The time step size is hard-coded such that the sim runs for 2 steps.
| void swift2::dastgenTest::reportStep | ( | const std::string & | particleName | ) |
Report time-step size and current time at the end of a step.