38#ifndef Foam_valuePointPatchField_H
39#define Foam_valuePointPatchField_H
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...
void writeEntry(const word &keyword, Ostream &os) const
Write the field as a dictionary entry.
constexpr Field() noexcept
Default construct.
A simple container of IOobject preferences. Can also be used for general handling of read/no-read/rea...
readOption
Enumeration defining read preferences.
@ MUST_READ
Reading required.
@ LAZY_READ
Reading is optional [identical to READ_IF_PRESENT].
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
commsTypes
Communications types.
@ buffered
"buffered" : (MPI_Bsend, MPI_Recv)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Foam::pointPatchFieldMapper.
Abstract base class for point-mesh patch fields.
static autoPtr< pointPatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
pointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
Basic pointPatch represents a set of points from the mesh.
A class for managing temporary objects.
Foam::valuePointPatchField.
valuePointPatchField(const pointPatch &p, const DimensionedField< Type, pointMesh > &iF, const dictionary &dict, const bool needValue)
Construct, forwarding to readOption variant.
virtual void operator==(const valuePointPatchField< Type > &)
valuePointPatchField(const valuePointPatchField &)=default
Copy construct.
virtual void autoMap(const pointPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
TypeName("value")
Declare type-name, virtual type (with debug switch).
bool operator!=(const valuePointPatchField< Type > &) const =delete
virtual autoPtr< pointPatchField< Type > > clone(const DimensionedField< Type, pointMesh > &iF) const
Construct and return a clone setting internal field reference.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void operator=(const valuePointPatchField< Type > &)
bool operator!=(const Field< Type > &) const =delete
bool operator!=(const Type &) const =delete
label size() const noexcept
Return the field size.
virtual bool assignable() const
True: this patch field is altered by assignment by default.
bool readValueEntry(const dictionary &dict, IOobjectOption::readOption readOpt=IOobjectOption::LAZY_READ)
Read the "value" entry into *this.
virtual autoPtr< pointPatchField< Type > > clone() const
Return a clone.
void extrapolateInternal()
Assign the patch field from the internal field.
virtual void rmap(const pointPatchField< Type > &, const labelList &)
Reverse map the given PointPatchField onto.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::buffered)
Evaluate the patch field.
bool operator!=(const pointPatchField< Type > &) const =delete
OBJstream os(runTime.globalPath()/outputName)
List< label > labelList
A List of labels.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.