98 tmp<Field<Type>> tvalues
100 transform(I - n_*n_, this->patchInternalField())
104 auto& iF =
const_cast<Field<Type>&
>(this->primitiveField());
114 slipPointPatchField<Type>::write(
os);
115 os.writeEntry(
"n", n_);
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...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
commsTypes
Communications types.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
slip with user-specified normal
fixedNormalSlipPointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
virtual void write(Ostream &) const
Write.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::buffered)
Update the patch field.
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.
virtual void write(Ostream &os) const
Write.
Basic pointPatch represents a set of points from the mesh.
Foam::slipPointPatchField.
slipPointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
A class for managing temporary objects.
OBJstream os(runTime.globalPath()/outputName)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
refinementData transform(const tensor &, const refinementData val)
No-op rotational transform for base types.
static const Identity< scalar > I
constexpr bool is_rotational_vectorspace_v
The is_rotational_vectorspace value of Type.