7#ifndef STRUCTUREDPOSTPROCESSING_H
8#define STRUCTUREDPOSTPROCESSING_H
20template <MInt nDim,
class SolverType>
void loadMeanFile(const MChar *fileName)
void initAverageVariables()
allocates memory for averageSolutions() and averageSolutionsInSolve()
MFloat ** m_tempWaveSample
void postprocessPreInit()
MString * m_gradientNames
std::vector< tpost > tvecpost
void computeAverageSkinFriction()
Computes skin friction of an averaged field.
void subtractPeriodicFluctuations()
MInt getNoPPSquareVars()
Returns number of pp Square variables.
std::vector< tvecpost > m_postprocessingMethods
SolverType * ppsolver()
CRTP.
void loadAveragedSolution()
Loads an averaged file again.
void averageSolutionsInSolve()
void postprocessInSolve()
void(StructuredPostprocessing::* tpost)()
std::vector< std::vector< MString > > m_postprocessingMethodsDesc
MString * m_movAvgVarNames
MInt m_noPostprocessingOps
void postprocessPostSolve()
MString * m_avgVariableNames
MString * m_postprocessingOps
MString m_postprocessFileName
MInt m_averageStartTimestep
void computeAveragedSolution()
Computes the mean variables from summed vars.
void initTimeStepProperties()
Initializes timestep properties for postprocessing.
MString * m_avgFavreNames
void initAverageIn()
Initializes properties for averaging during solver run.
MInt getNoPPVars()
Returns number of postprocessing variables.
void computeProductionTerms()
Computes the production terms from an averaged field.
void getSampleVariables(MInt cellId, const MFloat *&vars)
void addAveragingSample()
Adds one sample to the summedVars.
MFloat m_sutherlandConstant
void saveAverageRestart()
MInt m_averageStopTimestep
StructuredPostprocessing()
Constructor for the postprocessing solver.
MBool m_computeProductionTerms
void computeDissipationTerms()
Computes the production terms from an averaged field.
void postprocessPreSolve()
MFloat ** m_movAvgVariables
void addTempWaveSample()
Adds for the travelling wave setups.
void initDissipationVariables()
void initStructuredPostprocessing()
~StructuredPostprocessing()
Destructor for the postprocessing solver.
MFloat m_sutherlandPlusOne
void saveAveragedSolution(MInt)
MInt m_movingAvgDataPoints
MInt m_averageRestartInterval
MBool m_computeDissipationTerms
void initProductionVariables()
std::basic_string< char > MString