58#ifndef iterativeGaussGrad_H
59#define iterativeGaussGrad_H
78class iterativeGaussGrad
91 iterativeGaussGrad(
const iterativeGaussGrad&) =
delete;
94 void operator=(
const iterativeGaussGrad&) =
delete;
108 gaussGrad<Type>(
mesh),
115 gaussGrad<Type>(
mesh, schemeData),
121 <<
"nIter = " << nIter_
Generic GeometricField class.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Mesh data needed to do the Finite Volume discretisation.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Basic second-order gradient scheme using face-interpolation and Gauss' theorem.
const fvMesh & mesh() const
Return const reference to mesh.
iterativeGaussGrad(const fvMesh &mesh)
Construct from mesh.
TypeName("iterativeGauss")
Runtime type information.
virtual tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > calcGrad(const GeometricField< Type, fvPatchField, volMesh > &vsf, const word &name) const
Return the gradient of the given field to the gradScheme::grad for optional caching.
iterativeGaussGrad(const fvMesh &mesh, Istream &schemeData)
Construct from mesh and Istream.
typeOfRank< typenamepTraits< arg1 >::cmptType, direction(pTraits< arg1 >::rank)+direction(pTraits< arg2 >::rank)>::type type
A class for managing temporary objects.
Mesh data needed to do the Finite Volume discretisation.
A class for handling words, derived from Foam::string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Namespace for finite-volume.
label readLabel(const char *buf)
Parse entire buffer as a label, skipping leading/trailing whitespace.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.