46#ifndef Foam_zeroValueFaePatchField_H
47#define Foam_zeroValueFaePatchField_H
138 virtual bool fixesValue()
const {
return true; }
141 virtual bool assignable()
const {
return false; }
144 virtual void write(Ostream&
os)
const;
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...
constexpr Field() noexcept
Default construct.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A FieldMapper for finite-area patch fields.
Finite area patch class. Used for 2-D non-Euclidian finite area method.
faePatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cove...
const DimensionedField< Type, edgeMesh > & internalField() const noexcept
Return const-reference to the dimensioned internal field.
faePatchField(const faPatch &, const DimensionedField< Type, edgeMesh > &)
Construct from patch and internal field.
static tmp< faePatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
fixedValueFaePatchField(const faPatch &, const DimensionedField< Type, edgeMesh > &)
Construct from patch and internal field.
A class for managing temporary objects.
virtual void operator/=(const Field< scalar > &)
virtual bool fixesValue() const
True: this patch field fixes a value.
virtual void operator-=(const faePatchField< Type > &)
TypeName("zeroValue")
Runtime type information.
virtual void operator==(const Type &)
virtual void operator+=(const Field< Type > &)
virtual void operator=(const Type &)
bool operator!=(const faePatchField< Type > &) const =delete
virtual void operator*=(const Field< scalar > &)
virtual tmp< faePatchField< Type > > clone(const DimensionedField< Type, edgeMesh > &iF) const
Clone with an internal field reference.
virtual ~zeroValueFaePatchField()=default
Destructor.
virtual void operator*=(const faePatchField< scalar > &)
virtual void operator==(const faePatchField< Type > &)
virtual void operator/=(const scalar)
virtual void operator=(const UList< Type > &)
virtual void operator==(const Field< Type > &)
virtual tmp< faePatchField< Type > > clone() const
Return clone.
virtual void operator=(const faePatchField< Type > &)
virtual void operator-=(const Type &)
bool operator!=(const Field< Type > &) const =delete
bool operator!=(const Type &) const =delete
virtual void operator+=(const faePatchField< Type > &)
virtual void operator/=(const faePatchField< scalar > &)
zeroValueFaePatchField(const zeroValueFaePatchField< Type > &pfld)
Copy construct.
virtual bool assignable() const
False: this patch field is not altered by assignment.
zeroValueFaePatchField(const faPatch &p, const DimensionedField< Type, edgeMesh > &iF)
Construct from patch and internal field.
virtual void operator*=(const scalar)
virtual void operator-=(const Field< Type > &)
virtual void operator+=(const Type &)
OBJstream os(runTime.globalPath()/outputName)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.