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

Source file of the ITHACAnorm file. More...

#include "ITHACAnorm.H"

Go to the source code of this file.

Namespaces

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

Functions

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.
template Eigen::MatrixXd ITHACAutilities::dot_product_POD (PtrList< volTensorField > &v, PtrList< volTensorField > &w, const word &hilbertSpacePOD, const double &weightBC, const word &patchBC, const double &weightH1)
template Eigen::MatrixXd ITHACAutilities::dot_product_POD (PtrList< volVectorField > &v, PtrList< volVectorField > &w, const word &hilbertSpacePOD, const double &weightBC, const word &patchBC, const double &weightH1)
template Eigen::MatrixXd ITHACAutilities::dot_product_POD (PtrList< volScalarField > &v, PtrList< volScalarField > &w, const word &hilbertSpacePOD, const double &weightBC, const word &patchBC, const double &weightH1)
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 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 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>
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.
template double ITHACAutilities::dot_product_H1 (const volVectorField &v, const volVectorField &w, const double &weightH1)
template double ITHACAutilities::dot_product_H1 (const volScalarField &v, const volScalarField &w, const double &weightH1)
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.
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 double ITHACAutilities::dot_product_boundary (const volTensorField &v, const volTensorField &w, const word &patchBC)
template double ITHACAutilities::dot_product_boundary (const volVectorField &v, const volVectorField &w, const word &patchBC)
template double ITHACAutilities::dot_product_boundary (const volScalarField &v, const volScalarField &w, const word &patchBC)
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 double ITHACAutilities::dot_product_L2wBC (const volTensorField &v, const volTensorField &w, const double &weightBC, const word &patchBC)
template double ITHACAutilities::dot_product_L2wBC (const volVectorField &v, const volVectorField &w, const double &weightBC, const word &patchBC)
template double ITHACAutilities::dot_product_L2wBC (const volScalarField &v, const volScalarField &w, const double &weightBC, const word &patchBC)
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 double ITHACAutilities::norm_L2wBC (const volTensorField &v, const double &weightBC, const word &patchBC)
template double ITHACAutilities::norm_L2wBC (const volVectorField &v, const double &weightBC, const word &patchBC)
template double ITHACAutilities::norm_L2wBC (const volScalarField &v, const double &weightBC, const word &patchBC)
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 double ITHACAutilities::norm_POD (const volVectorField &v, const word &hilbertSpacePOD, const double &weightBC, const word &patchBC, const double &weightH1)
template double ITHACAutilities::norm_POD (const volScalarField &v, const word &hilbertSpacePOD, const double &weightBC, const word &patchBC, const double &weightH1)
template<typename T>
double ITHACAutilities::L2Norm (const T v)
 Compute the L2 norm of v.
template double ITHACAutilities::L2Norm (const volTensorField &v)
template double ITHACAutilities::L2Norm (const volVectorField &v)
template double ITHACAutilities::L2Norm (const volScalarField &v)
template double ITHACAutilities::L2Norm (const volTensorField v)
template double ITHACAutilities::L2Norm (const volVectorField v)
template double ITHACAutilities::L2Norm (const volScalarField v)
template double ITHACAutilities::L2Norm (const tmp< volTensorField > v)
template double ITHACAutilities::L2Norm (const tmp< volVectorField > v)
template double ITHACAutilities::L2Norm (const tmp< volScalarField > v)
template<>
double ITHACAutilities::LinfNorm (GeometricField< scalar, fvPatchField, volMesh > &field)
template<>
double ITHACAutilities::LinfNorm (GeometricField< vector, fvPatchField, volMesh > &field)
template<>
double ITHACAutilities::H1Seminorm (GeometricField< scalar, fvPatchField, volMesh > &field)
template<>
double ITHACAutilities::H1Seminorm (GeometricField< vector, fvPatchField, volMesh > &field)
template<class Type, template< class > class PatchField, class GeoMesh>
double ITHACAutilities::frobNorm (GeometricField< Type, PatchField, GeoMesh > &field)
 Evaluate the Frobenius norm of a field.
template double ITHACAutilities::frobNorm (GeometricField< scalar, fvPatchField, volMesh > &field)
template double ITHACAutilities::frobNorm (GeometricField< scalar, fvsPatchField, surfaceMesh > &field)
template double ITHACAutilities::frobNorm (GeometricField< vector, fvPatchField, volMesh > &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

Source file of the ITHACAnorm file.

Definition in file ITHACAnorm.C.