55 if (!isType<symmetryPlanePointPatch>(
p))
58 <<
"patch " << this->
patch().
index() <<
" not symmetry type. " 59 <<
"Patch type = " << p.type()
68 const symmetryPlanePointPatchField<Type>& ptf,
70 const DimensionedField<Type, pointMesh>& iF,
71 const pointPatchFieldMapper& mapper
74 basicSymmetryPointPatchField<Type>(ptf,
p, iF, mapper),
75 symmetryPlanePatch_(
refCast<const symmetryPlanePointPatch>(
p))
77 if (!isType<symmetryPlanePointPatch>(this->
patch()))
80 <<
"Field type does not correspond to patch type for patch " 82 <<
"Field type: " << typeName <<
endl 83 <<
"Patch type: " << this->
patch().type()
92 const symmetryPlanePointPatchField<Type>& ptf,
93 const DimensionedField<Type, pointMesh>& iF
96 basicSymmetryPointPatchField<Type>(ptf, iF),
97 symmetryPlanePatch_(ptf.symmetryPlanePatch_)
109 vector nHat = symmetryPlanePatch_.n();
114 this->patchInternalField()
122 this->setInInternalField(iF, tvalues());
errorManipArg< error, int > exit(error &err, const int errNo=1)
const pointPatch & patch() const noexcept
Return the patch.
commsTypes
Communications types.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A Symmetry boundary condition for pointField.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Type & refCast(U &obj)
A dynamic_cast (for references). Generates a FatalError on failed casts and uses the virtual type() m...
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Update the patch field.
Ostream & endl(Ostream &os)
Add newline and flush stream.
symmetryPlanePointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
static const Identity< scalar > I
Generic templated field type.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Basic pointPatch represents a set of points from the mesh.
virtual label index() const =0
Return the index of this patch in the pointBoundaryMesh.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class for managing temporary objects.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...