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

Header file of the ITHACAerror file. More...

#include "fvCFD.H"
#include "IOmanip.H"
#include "freestreamFvPatchField.H"
#include <sys/stat.h>
#include <unistd.h>
#include <Eigen/Eigen>
#include <functional>
#include "./colormod.H"
#include "polyMeshTools.H"
#include <chrono>
#include "mixedFvPatchFields.H"
#include "fvMeshSubset.H"
#include "Foam2Eigen.H"
#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<class Type, template< class > class PatchField, class GeoMesh>
double ITHACAutilities::errorFrobRel (GeometricField< Type, PatchField, GeoMesh > &field1, GeometricField< Type, PatchField, GeoMesh > &field2, List< label > *labels=NULL)
 Computes the relative error between two Fields in the Frobenius norm.
template<typename T>
double ITHACAutilities::errorL2Rel (GeometricField< T, fvPatchField, volMesh > &field1, GeometricField< T, fvPatchField, volMesh > &field2, List< label > *labels=NULL)
 Computes the relative error between two geometric Fields in L2 norm.
template<typename T>
double ITHACAutilities::errorLinfRel (GeometricField< T, fvPatchField, volMesh > &field1, GeometricField< T, fvPatchField, volMesh > &field2, List< label > *labels=NULL)
 Computes the relative error between two geometric Fields in Linf norm.
template<typename T>
double ITHACAutilities::errorL2Abs (GeometricField< T, fvPatchField, volMesh > &field1, GeometricField< T, fvPatchField, volMesh > &field2, volScalarField &Volumes)
 Computes the absolute error between two geometric Fields in L2 norm, given the mesh volumes field.
template<typename T>
double ITHACAutilities::errorL2Abs (GeometricField< T, fvPatchField, volMesh > &field1, GeometricField< T, fvPatchField, volMesh > &field2, List< label > *labels=NULL)
 Computes the absolute error between two Fields in L2 norm.
template<typename T>
Eigen::MatrixXd ITHACAutilities::errorL2Rel (PtrList< GeometricField< T, fvPatchField, volMesh > > &fields1, PtrList< GeometricField< T, fvPatchField, volMesh > > &fields2, List< label > *labels=NULL)
 Computes the relative error in L2 norm between two lists of fields.
template<class T, template< class > class PatchField, class GeoMesh>
Eigen::MatrixXd ITHACAutilities::errorFrobRel (PtrList< GeometricField< T, PatchField, GeoMesh > > &fields1, PtrList< GeometricField< T, PatchField, GeoMesh > > &fields2, List< label > *labels=NULL)
 Computes the relative error in the Frobenius norm between two lists of fields.
template<typename T>
Eigen::MatrixXd ITHACAutilities::errorL2Abs (PtrList< GeometricField< T, fvPatchField, volMesh > > &fields1, PtrList< GeometricField< T, fvPatchField, volMesh > > &fields2, PtrList< volScalarField > &Volumes)
 Computes the relative error in L2 norm between two lists of Fields given the list of mesh volumes fields.
template<typename T>
Eigen::MatrixXd ITHACAutilities::errorL2Abs (PtrList< GeometricField< T, fvPatchField, volMesh > > &fields1, PtrList< GeometricField< T, fvPatchField, volMesh > > &fields2, List< label > *labels=NULL)
 Computes the absolute error in L2 norm between two lists of Fields.

Detailed Description

Header file of the ITHACAerror file.

Definition in file ITHACAerror.H.