106#ifndef Foam_codedFixedValuePointPatchField_H
107#define Foam_codedFixedValuePointPatchField_H
138 mutable autoPtr<pointPatchField<Type>> redirectPatchFieldPtr_;
168 =
"fixedValuePointPatchFieldTemplate.C";
172 =
"fixedValuePointPatchFieldTemplate.H";
250 virtual void write(Ostream&)
const;
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
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.
Base class for function objects and boundary conditions using dynamic code that provides methods for ...
virtual void clearRedirect() const =0
codedBase(const codedBase &)=delete
No copy construct.
virtual dlLibraryTable & libs() const =0
Mutable access to the loaded dynamic libraries.
virtual string description() const =0
virtual const dictionary & codeDict() const =0
dynamicCodeContext & codeContext()
Access to the dynamic code context.
Constructs on-the-fly a new boundary condition (derived from fixedValuePointPatchField) which is then...
TypeName("codedFixedValue")
Runtime type information.
const pointPatchField< Type > & redirectPatchField() const
Get reference to the underlying patch.
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.
codedFixedValuePointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
static constexpr const char *const codeTemplateC
Name of the C code template to be used.
virtual autoPtr< pointPatchField< Type > > clone() const
Return a clone.
static constexpr const char *const codeTemplateH
Name of the H code template to be used.
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::buffered)
Evaluate the patch field, sets updated() to false.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A table of dynamically loaded libraries.
Encapsulation of dynamic code dictionaries.
Tools for handling dynamic code compilation.
A FixedValue boundary condition for pointField.
fixedValuePointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
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 handling words, derived from Foam::string.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.