40#ifndef Foam_fixedValuePointPatchField_H
41#define Foam_fixedValuePointPatchField_H
144 virtual autoPtr<pointPatchField<Type>>
clone()
const
150 virtual autoPtr<pointPatchField<Type>>
clone
162 virtual bool fixesValue()
const {
return true; }
165 virtual bool assignable()
const {
return false; }
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...
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.
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,...
A FixedValue boundary condition for pointField.
virtual bool fixesValue() const
True: this patch field fixes a value.
fixedValuePointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
virtual void operator=(const Type &)
TypeName("fixedValue")
Runtime type information.
virtual autoPtr< pointPatchField< Type > > clone(const DimensionedField< Type, pointMesh > &iF) const
Construct and return a clone setting internal field reference.
fixedValuePointPatchField(const fixedValuePointPatchField< Type > &pfld)
Copy construct.
fixedValuePointPatchField(const pointPatch &p, const DimensionedField< Type, pointMesh > &iF, const dictionary &dict, const bool needValue)
Compatibility. Prefer with readOption.
virtual bool assignable() const
False: this patch field is not altered by assignment.
virtual autoPtr< pointPatchField< Type > > clone() const
Return a clone.
virtual void operator=(const Field< Type > &)
Foam::pointPatchFieldMapper.
static autoPtr< pointPatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
const DimensionedField< Type, pointMesh > & internalField() const noexcept
Return const-reference to the dimensioned internal field.
Basic pointPatch represents a set of points from the mesh.
valuePointPatchField(const valuePointPatchField &)=default
Copy construct.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.