48 pointDisplacement_(pointDisplacement)
63 Info<<
"Selecting externalDisplacementMeshMover " << type <<
endl;
65 dictionaryConstructorTable::iterator cstrIter =
66 dictionaryConstructorTablePtr_->find(type);
68 if (cstrIter == dictionaryConstructorTablePtr_->end())
71 <<
"Unknown externalDisplacementMeshMover type " 73 <<
"Valid externalDisplacementMeshMover types:" << endl
74 << dictionaryConstructorTablePtr_->sortedToc()
80 cstrIter()(
dict, baffles, pointDisplacement)
108 if (f0 >= 0 && f1 >= 0)
114 baffles_.transfer(newBaffles);
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual void movePoints(const pointField &)
Update local data for geometry changes.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static autoPtr< externalDisplacementMeshMover > New(const word &type, const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement)
Return a reference to the selected meshMover model.
Ostream & endl(Ostream &os)
Add newline and flush stream.
externalDisplacementMeshMover(const dictionary &dict, const List< labelPair > &baffles, pointVectorField &pointDisplacement)
Construct from dictionary and displacement field. Dictionary is.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
A class for handling words, derived from string.
void append(const T &)
Append an element at the end of the list.
Pair< label > labelPair
Label pair.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
virtual void updateMesh(const mapPolyMesh &)
Update local data for topology changes.
virtual ~externalDisplacementMeshMover()
Destructor.
const labelList & reverseFaceMap() const
Reverse face map.