59 <<
"\n patch type '" <<
p.type()
60 <<
"' not constraint type '" <<
typeName <<
"'"
61 <<
"\n for patch " <<
p.name()
73 const DimensionedField<Type, areaMesh>& iF,
77 faPatchField<Type>(
p, iF, Field<Type>())
85 <<
"\n patch type '" <<
p.type()
86 <<
"' not constraint type '" <<
typeName <<
"'"
87 <<
"\n for patch " <<
p.name()
98 const emptyFaPatchField<Type>& ptf,
99 const DimensionedField<Type, areaMesh>& iF
121 if (this->internalField().
mesh().nFaces())
126 % this->internalField().
mesh().nFaces()
130 <<
"This mesh contains patches of type empty but is "
131 <<
"not 1D or 2D by virtue of the fact that the number of "
132 <<
"faces of this empty patch is not divisible by the number "
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
const word & name() const noexcept
Return the object name.
fileName objectPath() const
The complete path + object name.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
emptyFaPatchField(const faPatch &, const DimensionedField< Type, areaMesh > &)
Construct from patch and internal field.
virtual void write(Ostream &) const
Write without "value" entry!
void updateCoeffs()
Update the coefficients associated with the patch field.
const faPatch & patch() const noexcept
Return the patch.
A FieldMapper for finite-area patch fields.
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
faPatchField(const faPatch &, const DimensionedField< Type, areaMesh > &)
Construct from patch and internal field.
virtual void write(Ostream &os) const
Write.
const DimensionedField< Type, areaMesh > & internalField() const noexcept
Return const-reference to the dimensioned internal field.
Finite area patch class. Used for 2-D non-Euclidian finite area method.
virtual label size() const
Patch size is the number of edge labels, but can be overloaded.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
OBJstream os(runTime.globalPath()/outputName)
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
const Type * isA(const U &obj)
Attempt dynamic_cast to Type.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
bool isType(const U &obj)
Check if typeid of the object and Type are identical.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
errorManipArg< error, int > exit(error &err, const int errNo=1)