Peano
Loading...
Searching...
No Matches
DastgenTest.h File Reference

Contains routines intended to test that the classes and attributes DaStGen2 generates compile and run properly, as used in the dastgen-test example and generated by DastgenTestDummyParticle.py. More...

#include "globaldata/dummyPart.h"
#include "DastgenTest.cpph"
Include dependency graph for DastgenTest.h:

Go to the source code of this file.

Namespaces

namespace  exaparty
 This file is part of the ExaParty project.
 
namespace  exaparty::dastgenTest
 

Functions

template<typename ParticleContainer >
void exaparty::dastgenTest::checkDastgen (ParticleContainer &assignedParticles)
 Main testing function.
 
void exaparty::dastgenTest::checkBooleans (tests::exaparty::dastgenTest::globaldata::dummyPart &particle)
 Perform all the checks on a particle's boolean members.
 
void exaparty::dastgenTest::checkDoubles (tests::exaparty::dastgenTest::globaldata::dummyPart &particle)
 Perform all the checks on a particle's double members.
 
void exaparty::dastgenTest::checkEnums (tests::exaparty::dastgenTest::globaldata::dummyPart &particle)
 Perform all the checks on a particle's enum members.
 
void exaparty::dastgenTest::checkIntegers (tests::exaparty::dastgenTest::globaldata::dummyPart &particle)
 Perform all the checks on a particle's integer members.
 
void exaparty::dastgenTest::checkStrings (tests::exaparty::dastgenTest::globaldata::dummyPart &particle)
 Perform all the checks on a particle's string members.
 
void exaparty::dastgenTest::checkBooleanArrays (tests::exaparty::dastgenTest::globaldata::dummyPart &particle)
 Perform all the checks on a particle's boolean array members.
 
void exaparty::dastgenTest::checkDoubleArrays (tests::exaparty::dastgenTest::globaldata::dummyPart &particle)
 Perform all the checks on a particle's double array members.
 
void exaparty::dastgenTest::checkIntegerArrays (tests::exaparty::dastgenTest::globaldata::dummyPart &particle)
 Perform all the checks on a particle's integer array members.
 
void exaparty::dastgenTest::checkPeanoDoubleArrays (tests::exaparty::dastgenTest::globaldata::dummyPart &particle)
 Perform all the checks on a particle's double array members.
 
void exaparty::dastgenTest::checkPeanoIntegerArrays (tests::exaparty::dastgenTest::globaldata::dummyPart &particle)
 Perform all the checks on a particle's integer array members.
 
void exaparty::dastgenTest::checkUserDefinedType (tests::exaparty::dastgenTest::globaldata::dummyPart &particle)
 Perform all the checks on a particle's user defined types.
 
void exaparty::dastgenTest::checkConstructors ()
 Check the constructor methods.
 
template<typename Particle >
void exaparty::dastgenTest::dummyMoveForwardInTime ()
 A dummy function to move the simulation forward in time.
 
template<typename Particle >
void exaparty::dastgenTest::reportStep (const std::string &particleName)
 Report time-step size and current time at the end of a step.
 

Detailed Description

Contains routines intended to test that the classes and attributes DaStGen2 generates compile and run properly, as used in the dastgen-test example and generated by DastgenTestDummyParticle.py.

Definition in file DastgenTest.h.