The regression test is based on the time-averaged meanvalue and variance.
More...
#include <time_averaged_method.h>
Inherits SPH::RegressionTestBase< ObserveMethodType >.
Inherited by SPH::RegressionTestDynamicTimeWarping< ObserveMethodType >, and SPH::RegressionTestEnsembleAveraged< ObserveMethodType >.
|
void | filterLocalResult (DoubleVec< Real > ¤t_result) |
|
void | filterLocalResult (DoubleVec< Vecd > ¤t_result) |
|
void | filterLocalResult (DoubleVec< Matd > ¤t_result) |
|
void | searchSteadyStart (DoubleVec< Real > ¤t_result) |
|
void | searchSteadyStart (DoubleVec< Vecd > ¤t_result) |
|
void | searchSteadyStart (DoubleVec< Matd > ¤t_result) |
|
void | calculateNewVariance (DoubleVec< Real > ¤t_result, StdVec< Real > &local_meanvalue, StdVec< Real > &variance, StdVec< Real > &variance_new) |
|
void | calculateNewVariance (DoubleVec< Vecd > ¤t_result, StdVec< Vecd > &local_meanvalue, StdVec< Vecd > &variance, StdVec< Vecd > &variance_new) |
|
void | calculateNewVariance (DoubleVec< Matd > ¤t_result, StdVec< Matd > &local_meanvalue, StdVec< Matd > &variance, StdVec< Matd > &variance_new) |
|
int | compareParameter (string par_name, StdVec< Real > ¶meter, StdVec< Real > ¶meter_new, Real &threshold) |
|
int | compareParameter (string par_name, StdVec< Vecd > ¶meter, StdVec< Vecd > ¶meter_new, Vecd &threshold) |
|
int | compareParameter (string par_name, StdVec< Matd > ¶meter, StdVec< Matd > ¶meter_new, Matd &threshold) |
|
int | testNewResult (DoubleVec< Real > ¤t_result, StdVec< Real > &meanvalue, StdVec< Real > &local_meanvalue, StdVec< Real > &variance) |
|
int | testNewResult (DoubleVec< Vecd > ¤t_result, StdVec< Vecd > &meanvalue, StdVec< Vecd > &local_meanvalue, StdVec< Vecd > &variance) |
|
int | testNewResult (DoubleVec< Matd > ¤t_result, StdVec< Matd > &meanvalue, StdVec< Matd > &local_meanvalue, StdVec< Matd > &variance) |
|
|
int | snapshot_for_converged_ |
|
std::string | mean_variance_filefullpath_ |
|
std::string | filefullpath_filter_output_ |
|
XmlEngine | mean_variance_xml_engine_in_ |
|
XmlEngine | mean_variance_xml_engine_out_ |
|
VariableType | threshold_mean_ |
|
VariableType | threshold_variance_ |
|
StdVec< VariableType > | meanvalue_ |
|
StdVec< VariableType > | meanvalue_new_ |
|
StdVec< VariableType > | variance_ |
|
StdVec< VariableType > | variance_new_ |
|
StdVec< VariableType > | local_meanvalue_ |
|
std::string | input_folder_path_ |
|
std::string | in_output_filefullpath_ |
|
std::string | result_filefullpath_ |
|
std::string | runtimes_filefullpath_ |
|
std::string | converged |
|
XmlMemoryIO | xmlmemory_io_ |
|
XmlEngine | observe_xml_engine_ |
|
XmlEngine | result_xml_engine_in_ |
|
XmlEngine | result_xml_engine_out_ |
|
StdVec< std::string > | element_tag_ |
|
DoubleVec< VariableType > | current_result_ |
|
DoubleVec< VariableType > | current_result_trans_ |
|
DoubleVec< VariableType > | result_in_ |
|
TripleVec< VariableType > | result_ |
|
int | snapshot_ |
|
int | observation_ |
|
int | difference_ |
|
int | number_of_run_ |
|
int | label_for_repeat_ |
|
int | number_of_snapshot_old_ |
|
template<class ObserveMethodType>
class SPH::RegressionTestTimeAveraged< ObserveMethodType >
The regression test is based on the time-averaged meanvalue and variance.
◆ calculateNewVariance()
template<class ObserveMethodType >
the method used for calculating the new variance.
◆ compareMeanVariance()
template<class ObserveMethodType >
write the meanvalue and variance to the .xml file.
◆ compareParameter()
template<class ObserveMethodType >
the method used for comparing the meanvalue and variance.
◆ filterExtremeValues()
template<class ObserveMethodType >
search for the starting point of the steady result.
◆ filterLocalResult()
template<class ObserveMethodType >
the method used for filtering local extreme values.
◆ generateDataBase()
template<class ObserveMethodType >
test the new result if it is converged within the range.
◆ initializeThreshold()
template<class ObserveMethodType >
initialize the threshold of meanvalue and variance.
◆ newResultTest()
template<class ObserveMethodType >
the interface for testing new result.
◆ readMeanVarianceFromXml()
template<class ObserveMethodType >
setup the test environment and define basic variables.
◆ resultTest()
template<class ObserveMethodType >
compare the meanvalue and variance between old and new ones.
◆ searchForStartPoint()
template<class ObserveMethodType >
read the mean and variance from the .xml file.
◆ searchSteadyStart() [1/3]
template<class ObserveMethodType >
the method used for searching steady starting point.
◆ searchSteadyStart() [2/3]
template<class ObserveMethodType >
This break just jump out of dimension iteration.
◆ searchSteadyStart() [3/3]
template<class ObserveMethodType >
This break just jump out of dimension iteration.
◆ testNewResult()
template<class ObserveMethodType >
the method used for testing the new result with meanvalue and variance.
◆ updateMeanVariance()
template<class ObserveMethodType >
filter out the extreme values, its default is false.
◆ writeMeanVarianceToXml()
template<class ObserveMethodType >
update the meanvalue and variance from new result.
The documentation for this class was generated from the following files: