VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
TestImp Class Referenceabstract

#include <TestImp.h>

Inheritance diagram for TestImp:
Test SimulationObserver L2NormTest L2NormTestBetweenKernels NyTest PhiTest

Public Member Functions

void run () override
 
void update () override
 
TestStatus getTestStatus () override
 
void makeConsoleOutput () override
 
void addSimulation (std::shared_ptr< NumericalTestSimulation > sim, std::shared_ptr< SimulationInfo > simInfo, std::shared_ptr< PostProcessingStrategy > postProStrategy)
 
- Public Member Functions inherited from Test
virtual ~Test ()=default
 
- Public Member Functions inherited from SimulationObserver
 SimulationObserver ()
 Class default constructor.
 
 SimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s)
 Construct SimulationObserver object for grid object and scheduler object.
 
virtual ~SimulationObserver ()
 Class destructor.
 
virtual void update (real step)=0
 Updates observer.
 
virtual ~SimulationObserver ()=default
 

Protected Member Functions

 TestImp (std::shared_ptr< ColorConsoleOutput > colorOutput)
 
virtual void evaluate ()=0
 
virtual std::vector< std::string > buildTestOutput ()=0
 
virtual std::vector< std::string > buildBasicTestOutput ()=0
 
virtual std::vector< std::string > buildErrorTestOutput ()=0
 
std::vector< std::string > buildSimulationFailedTestOutput ()
 
bool CheckAllSimulationRun ()
 

Protected Attributes

std::vector< std::shared_ptr< NumericalTestSimulation > > simulations
 
std::vector< std::shared_ptr< PostProcessingStrategy > > postProStrategies
 
std::vector< std::shared_ptr< SimulationInfo > > simInfos
 
std::vector< boolsimulationRun
 
std::shared_ptr< ColorConsoleOutputcolorOutput
 
TestStatus testStatus
 
- Protected Attributes inherited from SimulationObserver
SPtr< Grid3Dgrid
 
SPtr< UbSchedulerscheduler
 

Detailed Description

Definition at line 47 of file TestImp.h.

Member Function Documentation

◆ buildBasicTestOutput()

virtual std::vector< std::string > TestImp::buildBasicTestOutput ( )
protectedpure virtual

◆ buildErrorTestOutput()

virtual std::vector< std::string > TestImp::buildErrorTestOutput ( )
protectedpure virtual

◆ buildTestOutput()

virtual std::vector< std::string > TestImp::buildTestOutput ( )
protectedpure virtual

◆ evaluate()

virtual void TestImp::evaluate ( )
protectedpure virtual

Member Data Documentation

◆ colorOutput

std::shared_ptr<ColorConsoleOutput> TestImp::colorOutput
protected

Definition at line 72 of file TestImp.h.

◆ postProStrategies

std::vector<std::shared_ptr<PostProcessingStrategy> > TestImp::postProStrategies
protected

Definition at line 69 of file TestImp.h.

◆ simInfos

std::vector<std::shared_ptr<SimulationInfo> > TestImp::simInfos
protected

Definition at line 70 of file TestImp.h.

◆ simulationRun

std::vector<bool> TestImp::simulationRun
protected

Definition at line 71 of file TestImp.h.

◆ simulations

std::vector<std::shared_ptr<NumericalTestSimulation> > TestImp::simulations
protected

Definition at line 68 of file TestImp.h.

◆ testStatus

TestStatus TestImp::testStatus
protected

Definition at line 73 of file TestImp.h.


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