108#ifndef Foam_fv_MapFieldConstraint_H
109#define Foam_fv_MapFieldConstraint_H
142 autoPtr<Function1<point>> positionPtr_;
145 autoPtr<Function1<point>> directionPtr_;
168 transform(
const transform&) =
delete;
171 void operator=(
const transform&) =
delete;
185 void translate(refPtr<fvMesh>& srcMeshPtr,
const scalar time);
188 void rotate(refPtr<fvMesh>& srcMeshPtr,
const scalar time);
201 transform transform_;
204 autoPtr<Time> srcTimePtr_;
207 refPtr<fvMesh> srcMeshPtr_;
210 autoPtr<meshToMesh> interpPtr_;
213 HashTable<word> patchMap_;
225 word patchMapMethodName_;
243 void createInterpolation
251 template<
class VolFieldType>
252 VolFieldType& getOrReadField
255 const word& fieldName
274 const word& modelType,
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
A HashTable similar to std::unordered_map.
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 special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
The MapFieldConstraint constrains values of given fields of Type with a source field from an external...
TypeName("MapFieldConstraint")
Runtime type information.
MapFieldConstraint(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
virtual ~MapFieldConstraint()=default
Destructor.
void operator=(const MapFieldConstraint &)=delete
No copy assignment.
virtual void constrain(fvMatrix< Type > &eqn, const label)
Set value on field.
virtual bool read(const dictionary &dict)
Read source dictionary.
MapFieldConstraint(const MapFieldConstraint &)=delete
No copy construct.
Base abstract class for handling finite volume options (i.e. fvOption).
bool active_
Source active flag.
const word & name() const noexcept
Return const access to the source name.
virtual bool isActive()
Is the source active?
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
Class to calculate the cell-addressing between two overlapping meshes.
A class for managing references or pointers (no reference counting).
A class for handling words, derived from Foam::string.
Info<< "Create engine time\n"<< endl;autoPtr< engineTime > runTimePtr(engineTime::New(Time::controlDictName, args.rootPath(), args.caseName()))
Namespace for finite-volume.
List< word > wordList
List of word.
List< label > labelList
A List of labels.
vector point
Point is a vector.
vectorField pointField
pointField is a vectorField.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.