49 static std::shared_ptr<NyTest>
getNewInstance(std::shared_ptr<ColorConsoleOutput>
colorOutput,
double viscosity, std::shared_ptr<NyTestParameterStruct>
testPara, std::string dataToCalculate);
52 void addSimulation(std::shared_ptr<NumericalTestSimulation> sim, std::shared_ptr<SimulationInfo> simInfo, std::shared_ptr<NyTestPostProcessingStrategy>
postProStrategy);
57 std::vector<int>
getLx();
58 std::vector<double>
getNy();
63 NyTest(std::shared_ptr<ColorConsoleOutput>
colorOutput,
double viscosity, std::shared_ptr<NyTestParameterStruct>
testPara, std::string dataToCalculate);
64 double calcOrderOfAccuracy(std::vector<double> data);
65 TestStatus checkTestPassed(
double orderOfAccuracy);
66 bool checkNy(std::vector<double> ny);
67 std::vector<double> calcNyDiff(std::vector<double> ny);
68 std::vector<std::string> buildTestOutput();
69 std::vector<std::string> buildBasicTestOutput();
70 std::vector<std::string> buildErrorTestOutput();
71 std::vector<std::string> buildSimulationFailedTestOutput();
74 unsigned int startStepCalculation, endStepCalculation;
75 std::vector<double> lx;
76 std::vector<double> ny, nyDiff;
77 double orderOfAccuracy;
78 double minOrderOfAccuracy;
80 std::string dataToCalculate;
82 std::vector<std::shared_ptr<NyTestPostProcessingStrategy> > postProStrategies;
static std::shared_ptr< NyTest > getNewInstance(std::shared_ptr< ColorConsoleOutput > colorOutput, double viscosity, std::shared_ptr< NyTestParameterStruct > testPara, std::string dataToCalculate)