49 static std::shared_ptr<PhiTest>
getNewInstance(std::shared_ptr<ColorConsoleOutput>
colorOutput,
double viscosity, std::shared_ptr<PhiTestParameterStruct>
testPara, std::string dataToCalculate);
52 void addSimulation(std::shared_ptr<NumericalTestSimulation> sim, std::shared_ptr<SimulationInfo> simInfo, std::shared_ptr<PhiTestPostProcessingStrategy>
postProStrategy);
56 std::vector<int>
getLx();
63 PhiTest(std::shared_ptr<ColorConsoleOutput>
colorOutput,
double viscosity, std::shared_ptr<PhiTestParameterStruct>
testPara, std::string dataToCalculate);
64 double calcOrderOfAccuracy(std::vector<double> data);
65 TestStatus checkTestPassed(
double orderOfAccuracy);
66 std::vector<std::string> buildTestOutput();
67 std::vector<std::string> buildBasicTestOutput();
68 std::vector<std::string> buildErrorTestOutput();
70 unsigned int startStepCalculation, endStepCalculation;
71 std::vector<double> lx;
72 std::vector<double> phiDiff;
73 double orderOfAccuracy;
74 double minOrderOfAccuracy;
75 std::string dataToCalculate;
77 std::vector<std::shared_ptr<PhiTestPostProcessingStrategy> > postProStrategies;
static std::shared_ptr< PhiTest > getNewInstance(std::shared_ptr< ColorConsoleOutput > colorOutput, double viscosity, std::shared_ptr< PhiTestParameterStruct > testPara, std::string dataToCalculate)