50 std::shared_ptr<TestSimulationDataStruct> testSimData,
51 std::shared_ptr<SimulationResults> simResult,
52 std::shared_ptr<TimeTracking> timeTracking,
53 std::shared_ptr<ToVectorWriter> toVectorWriter,
54 std::shared_ptr<AnalyticalResults2DToVTKWriter> anaResultWriter,
55 std::shared_ptr<ColorConsoleOutput> colorOutput)
57 this->simPara = testSimData->simParameter;
58 this->simInfo = testSimData->simInformation;
59 this->analyticalResult = testSimData->analyticalResult;
60 this->initialCondition = testSimData->initialCondition;
62 this->timeTracking = timeTracking;
64 this->simResult = simResult;
65 this->toVectorWriter = toVectorWriter;
67 this->anaResultWriter = anaResultWriter;
68 this->colorOutput = colorOutput;
70 this->simObserver.resize(0);
71 this->dataToCalcTests = simInfo->getDataToCalcTests();
73 this->runSimulation = runSimulation;
150 timeTracking->setResultCheckStartTime();
151 checkSimulationResults();
152 timeTracking->setResultCheckEndTime();
154 timeTracking->setTestStartTime();
156 timeTracking->setTestEndTime();
158 timeTracking->setAnalyticalResultWriteStartTime();
159 writeAnalyticalResultsToVTK();
160 timeTracking->setAnalyticalResultWriteEndTime();
TestSimulationImp(std::function< void()> runSimulation, std::shared_ptr< TestSimulationDataStruct > testSimData, std::shared_ptr< SimulationResults > simResult, std::shared_ptr< TimeTracking > timeTracking, std::shared_ptr< ToVectorWriter > toVectorWriter, std::shared_ptr< AnalyticalResults2DToVTKWriter > anaResultWriter, std::shared_ptr< ColorConsoleOutput > colorOutput)