Loading...
Searching...
No Matches
ITHACAcoeffsMass.C File Reference
#include "ITHACAcoeffsMass.H"

Go to the source code of this file.

Namespaces

namespace  ITHACAutilities
 Namespace to implement some useful assign operation of OF fields.
 

Functions

template<class Type , template< class > class PatchField, class GeoMesh >
PtrList< GeometricField< Type, PatchField, GeoMesh > > ITHACAutilities::reconstructFromCoeff (PtrList< GeometricField< Type, PatchField, GeoMesh > > &modes, Eigen::MatrixXd &coeff_matrix, label Nmodes)
 Exact reconstruction using a certain number of modes for a list of fields and the projection coefficients.
 
template PtrList< GeometricField< scalar, fvPatchField, volMesh > > ITHACAutilities::reconstructFromCoeff (PtrList< GeometricField< scalar, fvPatchField, volMesh > > &modes, Eigen::MatrixXd &coeff_matrix, label Nmodes)
 
template PtrList< GeometricField< vector, fvPatchField, volMesh > > ITHACAutilities::reconstructFromCoeff (PtrList< GeometricField< vector, fvPatchField, volMesh > > &modes, Eigen::MatrixXd &coeff_matrix, label Nmodes)
 
template PtrList< GeometricField< tensor, fvPatchField, volMesh > > ITHACAutilities::reconstructFromCoeff (PtrList< GeometricField< tensor, fvPatchField, volMesh > > &modes, Eigen::MatrixXd &coeff_matrix, label Nmodes)
 
template<class Type , template< class > class PatchField, class GeoMesh >
Eigen::MatrixXd ITHACAutilities::getMassMatrix (PtrList< GeometricField< Type, PatchField, GeoMesh > > &fields, label nModes=0, bool consider_volumes=true)
 Gets the mass matrix using the eigen routine.
 
template Eigen::MatrixXd ITHACAutilities::getMassMatrix (PtrList< GeometricField< scalar, fvPatchField, volMesh > > &modes, label Nmodes, bool consider_volumes)
 
template Eigen::MatrixXd ITHACAutilities::getMassMatrix (PtrList< GeometricField< scalar, fvsPatchField, surfaceMesh > > &modes, label Nmodes, bool consider_volumes=false)
 
template Eigen::MatrixXd ITHACAutilities::getMassMatrix (PtrList< GeometricField< vector, fvPatchField, volMesh > > &modes, label Nmodes, bool consider_volumes)
 
template Eigen::MatrixXd ITHACAutilities::getMassMatrix (PtrList< GeometricField< tensor, fvPatchField, volMesh > > &modes, label Nmodes, bool consider_volumes)
 
template<class Type , template< class > class PatchField, class GeoMesh >
Eigen::MatrixXd ITHACAutilities::getMassMatrix (PtrList< GeometricField< Type, PatchField, GeoMesh > > &fields, PtrList< GeometricField< Type, PatchField, GeoMesh > > &fields2, label nModes=0, bool consider_volumes=true)
 Gets the cross mass matrix using the eigen routine.
 
template Eigen::MatrixXd ITHACAutilities::getMassMatrix (PtrList< GeometricField< scalar, fvPatchField, volMesh > > &modes, PtrList< GeometricField< scalar, fvPatchField, volMesh > > &modes2, label Nmodes, bool consider_volumes)
 
template Eigen::MatrixXd ITHACAutilities::getMassMatrix (PtrList< GeometricField< scalar, fvsPatchField, surfaceMesh > > &modes, PtrList< GeometricField< scalar, fvsPatchField, surfaceMesh > > &modes2, label Nmodes, bool consider_volumes=false)
 
template Eigen::MatrixXd ITHACAutilities::getMassMatrix (PtrList< GeometricField< vector, fvPatchField, volMesh > > &modes, PtrList< GeometricField< vector, fvPatchField, volMesh > > &modes2, label Nmodes, bool consider_volumes)
 
template Eigen::MatrixXd ITHACAutilities::getMassMatrix (PtrList< GeometricField< tensor, fvPatchField, volMesh > > &modes, PtrList< GeometricField< tensor, fvPatchField, volMesh > > &modes2, label Nmodes, bool consider_volumes)
 
template<class Type , template< class > class PatchField, class GeoMesh >
Eigen::MatrixXd ITHACAutilities::getMassMatrix (PtrList< GeometricField< Type, PatchField, GeoMesh > > &fields, PtrList< GeometricField< Type, PatchField, GeoMesh > > &fields2, Eigen::VectorXd weights, label Nmodes=0, bool consider_volumes=true)
 Gets the cross mass matrix using the eigen routine.
 
template Eigen::MatrixXd ITHACAutilities::getMassMatrix (PtrList< GeometricField< scalar, fvPatchField, volMesh > > &modes, PtrList< GeometricField< scalar, fvPatchField, volMesh > > &modes2, Eigen::VectorXd weights, label Nmodes=0, bool consider_volumes)
 
template Eigen::MatrixXd ITHACAutilities::getMassMatrix (PtrList< GeometricField< scalar, fvsPatchField, surfaceMesh > > &modes, PtrList< GeometricField< scalar, fvsPatchField, surfaceMesh > > &modes2, Eigen::VectorXd weights, label Nmodes=0, bool consider_volumes)
 
template Eigen::MatrixXd ITHACAutilities::getMassMatrix (PtrList< GeometricField< vector, fvPatchField, volMesh > > &modes, PtrList< GeometricField< vector, fvPatchField, volMesh > > &modes2, Eigen::VectorXd weights, label Nmodes=0, bool consider_volumes)
 
template Eigen::MatrixXd ITHACAutilities::getMassMatrix (PtrList< GeometricField< tensor, fvPatchField, volMesh > > &modes, PtrList< GeometricField< tensor, fvPatchField, volMesh > > &modes2, Eigen::VectorXd weights, label Nmodes=0, bool consider_volumes)
 
template<class Type , template< class > class PatchField, class GeoMesh >
Eigen::VectorXd ITHACAutilities::getMassMatrixFV (GeometricField< Type, PatchField, GeoMesh > &snapshot)
 Gets a vector containing the volumes of each cell of the mesh.
 
template Eigen::VectorXd ITHACAutilities::getMassMatrixFV (GeometricField< scalar, fvPatchField, volMesh > &snapshot)
 
template Eigen::VectorXd ITHACAutilities::getMassMatrixFV (GeometricField< vector, fvPatchField, volMesh > &snapshot)
 
template Eigen::VectorXd ITHACAutilities::getMassMatrixFV (GeometricField< tensor, fvPatchField, volMesh > &snapshot)
 
template<class Type , template< class > class PatchField, class GeoMesh >
Eigen::VectorXd ITHACAutilities::getCoeffs (GeometricField< Type, PatchField, GeoMesh > &snapshot, PtrList< GeometricField< Type, PatchField, GeoMesh > > &modes, label Nmodes=0, bool consider_volumes=true)
 Projects a snapshot on a basis function and gets the coefficients of the projection.
 
template Eigen::VectorXd ITHACAutilities::getCoeffs (GeometricField< scalar, fvPatchField, volMesh > &snapshot, PtrList< GeometricField< scalar, fvPatchField, volMesh > > &modes, label Nmodes, bool consider_volumes)
 
template Eigen::VectorXd ITHACAutilities::getCoeffs (GeometricField< scalar, fvsPatchField, surfaceMesh > &snapshot, PtrList< GeometricField< scalar, fvsPatchField, surfaceMesh > > &modes, label Nmodes, bool consider_volumes=false)
 
template Eigen::VectorXd ITHACAutilities::getCoeffs (GeometricField< vector, fvPatchField, volMesh > &snapshot, PtrList< GeometricField< vector, fvPatchField, volMesh > > &modes, label Nmodes, bool consider_volumes)
 
template<class Type , template< class > class PatchField, class GeoMesh >
Eigen::MatrixXd ITHACAutilities::getCoeffs (PtrList< GeometricField< Type, PatchField, GeoMesh > > &snapshot, PtrList< GeometricField< Type, PatchField, GeoMesh > > &modes, label Nmodes=0, bool consider_volumes=true)
 Projects snapshots on a basis function and gets the coefficients of the projection.
 
template Eigen::MatrixXd ITHACAutilities::getCoeffs (PtrList< GeometricField< scalar, fvPatchField, volMesh > > &snapshot, PtrList< GeometricField< scalar, fvPatchField, volMesh > > &modes, label Nmodes, bool consider_volumes)
 
template Eigen::MatrixXd ITHACAutilities::getCoeffs (PtrList< GeometricField< vector, fvPatchField, volMesh > > &snapshot, PtrList< GeometricField< vector, fvPatchField, volMesh > > &modes, label Nmodes, bool consider_volumes)
 
template Eigen::MatrixXd ITHACAutilities::getCoeffs (PtrList< GeometricField< scalar, fvsPatchField, surfaceMesh > > &snapshot, PtrList< GeometricField< scalar, fvsPatchField, surfaceMesh > > &modes, label Nmodes, bool consider_volumes)
 
Eigen::MatrixXd ITHACAutilities::parTimeCombMat (List< Eigen::VectorXd > acquiredSnapshotsTimes, Eigen::MatrixXd parameters)
 A method to compute the time-parameter combined matrix whose any single element corresponds to a unique snapshot in the snapshots acquired for the offline stage.