Loading...
Searching...
No Matches
ITHACAnorm.H File Reference

Header file of the ITHACAnorm file. More...

#include "ITHACAparameters.H"
#include "fvCFD.H"
#include <Eigen/Eigen>
#include "ITHACAstream.H"

Go to the source code of this file.

Namespaces

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

Functions

double ITHACAutilities::dot_product_POD (const volVectorField &v, const volVectorField &w, const word &hilbertSpacePOD, const double &weightBC=0., const word &patchBC="inlet", const double &weightH1=1.0)
 Perform the dot product of v and w for a given hilbertSpace.
double ITHACAutilities::dot_product_POD (const volScalarField &v, const volScalarField &w, const word &hilbertSpacePOD, const double &weightBC=0., const word &patchBC="inlet", const double &weightH1=1.0)
 Perform the dot product of v and w for a given hilbertSpace.
double ITHACAutilities::dot_product_POD (const volTensorField &v, const volTensorField &w, const word &hilbertSpacePOD, const double &weightBC=0., const word &patchBC="inlet", const double &weightH1=1.0)
 Perform the dot product of v and w for a given hilbertSpace.
template<typename T>
Eigen::MatrixXd ITHACAutilities::dot_product_POD (PtrList< T > &v, PtrList< T > &w, const word &hilbertSpacePOD, const double &weightBC, const word &patchBC, const double &weightH1=1.0)
 Perform the dot product of two PtrList of type T.
double ITHACAutilities::dot_product_L2 (const volVectorField &v, const volVectorField &w)
 Perform the L2 dot product of v and w.
double ITHACAutilities::dot_product_L2 (const volScalarField &v, const volScalarField &w)
 Perform the L2 dot product of v and w.
double ITHACAutilities::dot_product_L2 (const volTensorField &v, const volTensorField &w)
 Perform the L2 dot product of v and w.
template<typename T>
double ITHACAutilities::dot_product_H1 (const T &v, const T &w, const double &weightH1=1.0)
 Perform the H1 dot product of v and w.
double ITHACAutilities::dot_product_patch (const Eigen::VectorXd &f1BC_i, const Eigen::VectorXd &f2BC_i, const scalarField &AreaFace, const int &d)
 Perform the L2 dot product of v and w at a given boundary patch.
template<typename T>
double ITHACAutilities::dot_product_boundary (const T &v, const T &w, const word &patchBC)
 Perform the L2 dot product of v and w at a given boundary.
template<typename T>
double ITHACAutilities::dot_product_L2wBC (const T &v, const T &w, const double &weightBC, const word &patchBC="inlet")
 Perform the L2 dot product of v and w at the boundaries.
template<typename T>
double ITHACAutilities::norm_L2wBC (const T &v, const double &weightBC, const word &patchBC="inlet")
 Compute the norm using the L2 dot product of v at the boundaries.
template<typename T>
double ITHACAutilities::norm_POD (const T &v, const word &hilbertSpacePOD, const double &weightBC=0., const word &patchBC="inlet", const double &weightH1=1.0)
 Compute the norm of v.
template<typename T>
double ITHACAutilities::L2Norm (const T v)
 Compute the L2 norm of v.
template<class T>
double ITHACAutilities::LinfNorm (GeometricField< T, fvPatchField, volMesh > &field)
 Evaluate the Linf norm of a geometric field.
template<class T>
double ITHACAutilities::H1Seminorm (GeometricField< T, fvPatchField, volMesh > &field)
 Evaluate the H1 seminorm of a geoemtri.
template<class Type, template< class > class PatchField, class GeoMesh>
double ITHACAutilities::frobNorm (GeometricField< Type, PatchField, GeoMesh > &field)
 Evaluate the Frobenius norm of a field.
double ITHACAutilities::L2normOnPatch (fvMesh &mesh, volScalarField &field, word patch)
 Evaluate the L2 norm of a field on a boundary patch.
double ITHACAutilities::L2productOnPatch (fvMesh &mesh, List< scalar > &field1, List< scalar > &field2, word patch)
 Evaluate the L2 inner product between two scalarLists.
double ITHACAutilities::LinfNormOnPatch (fvMesh &mesh, volScalarField &field, word patch)
 Evaluate the Linf norm of a field on a boundary patch.
double ITHACAutilities::integralOnPatch (fvMesh &mesh, volScalarField &field, word patch)
 Evaluate the integral on a patch.
double ITHACAutilities::integralOnPatch (fvMesh &mesh, List< scalar > field, word patch)
 Evaluate the integral on a patch.

Detailed Description

Header file of the ITHACAnorm file.

Definition in file ITHACAnorm.H.