Loading...
Searching...
No Matches
ITHACAPOD::PODTemplateH1< T, G > Class Template Reference
Inheritance diagram for ITHACAPOD::PODTemplateH1< T, G >:
ITHACAPOD::PODTemplate< T >

Public Member Functions

 PODTemplateH1 (Parameters *myParameters, const word &myfield_name)
Eigen::MatrixXd buildCovMatrix () override
void precomputeGradients ()
void changeEigenFolderUnitTest (const word &name="")
Public Member Functions inherited from ITHACAPOD::PODTemplate< T >
 PODTemplate (Parameters *myParameters, const Foam::word &myfield_name, const word &mySnapshots_path="default_path")
void define_paths ()
void computeMeanField ()
void appendMeanfieldtoSpatialModes (Foam::PtrList< T > &spatialModes)
void findTempFile (Eigen::MatrixXd *covMat, int *index1, int *index2)
Foam::word nameTempCovMatrix (int i, int j)
void saveTempCovMatrix (Eigen::MatrixXd &covMatrix, int i, int j)
void deleteTempCovMatrix (int i, int j)
void deletePreviousTempCovMatrix_N (int *valI, int *valJ, int i, int j, int N)
void addCovMatrixTriCoeff (Eigen::MatrixXd &covMatrix, Foam::PtrList< T > &snapshots, indexTri &indTri)
void addCovMatrixSquareCoeff (Eigen::MatrixXd &covMatrix, Foam::PtrList< T > &snapshots1, Foam::PtrList< T > &snapshots2, indexSquare &indSquare)
void diagonalisation (Eigen::MatrixXd &covMatrix, Eigen::VectorXd &eigenValueseig, Eigen::MatrixXd &eigenVectoreig)
Foam::PtrList< T > computeSpatialModes (Eigen::VectorXd &eigenValueseig, Eigen::MatrixXd &eigenVectoreig)
Eigen::MatrixXd computeTemporalModes (Eigen::VectorXd &eigenValueseig, Eigen::MatrixXd &eigenVectoreig)
void getModes (Foam::PtrList< T > &spatialModes, Eigen::MatrixXd &temporalModes, Eigen::MatrixXd &temporalModesSimulation, Eigen::MatrixXd &covMatrix)
Eigen::MatrixXd computeSimulationTemporalModes (Foam::PtrList< T > &spatialModes)
void compute_lambda (Eigen::MatrixXd &temporalModes)
const T & get_mean () const
void set_b_centeredOrNot (const Foam::label &input_b_centeredOrNot)
void lift (Foam::PtrList< T > &snapshots)
void lift (T &snapshot)
void set_snapFolderParams (label nSnapshot=-1, label nSnapshotSimulation=-1, label startTime=-1, label endTime=-1)

Public Attributes

word gradfield_name

Additional Inherited Members

Protected Attributes inherited from ITHACAPOD::PODTemplate< T >
StoredParametersm_parameters
Foam::word field_name
const Foam::fileName & casenameData
Foam::label l_nSnapshot
const Foam::label l_nBlocks
Foam::label l_nmodes
Foam::word l_hilbertSp
double weightH1
const double weightBC
const Foam::word patchBC
Foam::label l_startTime
Foam::label l_endTime
Foam::label l_nSnapshotSimulation
const Foam::label l_endTimeSimulation
fileName snapshotsPath
Foam::instantList timeFolders
Foam::fileName name_covMatrix
Foam::word folder_covMatrix
bool exist_covMatrix
Foam::fileName name_eigenValues
Foam::fileName name_eigenValuesNormalized
Foam::fileName name_cumEigenValues
Foam::fileName name_eigenVector
Foam::word folder_eigen
bool exist_eigenDecomposition
Foam::word folder_spatialModes
bool exist_spatialModes
Foam::word folder_temporalModes
bool exist_temporalModes
Foam::word folder_temporalModesSimulation
bool exist_temporalModesSimulation
T * f_field
bool b_centeredOrNot
T * f_meanField
Foam::word folder_mean
bool exist_noMean
Eigen::VectorXd eigenValueseigLam
Eigen::VectorXd lambda
const Foam::word w_eigensolver
const int i_precision
const std::_Ios_Fmtflags ios_outytpe
const Foam::Time runTime2
Eigen::MatrixXi inletIndex
bool lifting
Foam::PtrList< T > liftfield

Detailed Description

template<typename T, typename G>
class ITHACAPOD::PODTemplateH1< T, G >

Definition at line 12 of file PODTemplateH1.H.

Constructor & Destructor Documentation

◆ PODTemplateH1()

template<typename T, typename G>
ITHACAPOD::PODTemplateH1< T, G >::PODTemplateH1 ( Parameters * myParameters,
const word & myfield_name )

Definition at line 6 of file PODTemplateH1.C.

◆ ~PODTemplateH1()

template<typename T, typename G>
ITHACAPOD::PODTemplateH1< T, G >::~PODTemplateH1 ( )
inlineoverride

Definition at line 55 of file PODTemplateH1.H.

Member Function Documentation

◆ buildCovMatrix()

template<typename T, typename G>
Eigen::MatrixXd ITHACAPOD::PODTemplateH1< T, G >::buildCovMatrix ( )
overridevirtual

Reimplemented from ITHACAPOD::PODTemplate< T >.

Definition at line 13 of file PODTemplateH1.C.

◆ changeEigenFolderUnitTest()

template<typename T, typename G>
void ITHACAPOD::PODTemplateH1< T, G >::changeEigenFolderUnitTest ( const word & name = "")

Definition at line 108 of file PODTemplateH1.C.

◆ precomputeGradients()

template<typename T, typename G>
void ITHACAPOD::PODTemplateH1< T, G >::precomputeGradients ( )

Definition at line 57 of file PODTemplateH1.C.

Member Data Documentation

◆ gradfield_name

template<typename T, typename G>
word ITHACAPOD::PODTemplateH1< T, G >::gradfield_name

Definition at line 55 of file PODTemplateH1.H.


The documentation for this class was generated from the following files: