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))
80 <<
"Field type does not correspond to patch type for patch "
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_)
117 const Field<Type> pif(this->patchInternalField());
120 tmp<Field<Type>> tvalues
126 auto& iF =
const_cast<Field<Type>&
>(this->primitiveField());
128 this->setInInternalField(iF, tvalues());
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...
commsTypes
Communications types.
A Symmetry boundary condition for pointField.
basicSymmetryPointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
label index() const noexcept
The index of this patch in the boundaryMesh.
const pointPatch & patch() const noexcept
Return the patch.
Foam::pointPatchFieldMapper.
void patchInternalField(const UList< Type1 > &internalData, const labelUList &addressing, UList< Type1 > &pfld) const
Extract field using specified addressing.
void setInInternalField(Field< Type1 > &iF, const Field< Type1 > &pF, const labelUList &meshPoints) const
Given the internal field and a patch field, set the patch field in the internal field.
const Field< Type > & primitiveField() const noexcept
Return const-reference to the internal field values.
Basic pointPatch represents a set of points from the mesh.
symmetryPlanePointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::buffered)
Update the patch field.
A class for managing temporary objects.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Type & refCast(U &obj)
A dynamic_cast (for references) to Type reference.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
refinementData transform(const tensor &, const refinementData val)
No-op rotational transform for base types.
static const Identity< scalar > I
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
Ostream & endl(Ostream &os)
Add newline and flush stream.
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.
constexpr bool is_rotational_vectorspace_v
The is_rotational_vectorspace value of Type.
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)
SymmTensor< scalar > symmTensor
SymmTensor of scalars, i.e. SymmTensor<scalar>.