54 field.boundaryField()[patchI];
65 adaptPatchIDs.
append(patchI);
101 label meshFaceI = pp.
start();
105 addressing[
nFaces++] = meshFaceI++;
128 pointDisplacement_(pointDisplacement),
145 Info<<
"Selecting externalDisplacementMeshMover " <<
type <<
endl;
147 auto* ctorPtr = dictionaryConstructorTable(
type);
154 "externalDisplacementMeshMover",
156 *dictionaryConstructorTablePtr_
162 ctorPtr(
dict, baffles, pointDisplacement, dryRun)
190 if (f0 >= 0 && f1 >= 0)
196 baffles_.transfer(newBaffles);
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
DynamicList< T, SizeMin > & shrink()
Shrink the allocated space to the number of elements used.
void append(const T &val)
Copy append an element to the end of this list.
A List with indirect addressing.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
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,...
Virtual base class for mesh movers with externally provided displacement field giving the boundary co...
static labelList getFixedValueBCs(const pointVectorField &)
Extract fixed-value patchfields.
static autoPtr< indirectPrimitivePatch > getPatch(const polyMesh &, const labelList &)
Construct patch on selected patches.
virtual ~externalDisplacementMeshMover()
Destructor.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const labelList & reverseFaceMap() const
Reverse face map.
void movePoints()
Update for new mesh geometry.
void updateMesh()
Update for new mesh topology.
Abstract base class for point-mesh patch fields.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
Mesh consisting of general polyhedral cells.
virtual const faceList & faces() const
Return raw faces.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
virtual const pointField & points() const
Return raw points.
A patch is a list of labels that address the faces in the global face list.
label start() const
Return start label of this patch in the polyMesh face list.
Foam::valuePointPatchField.
A class for handling words, derived from Foam::string.
Enables the specification of a zero fixed value boundary condition.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
const polyBoundaryMesh & patches
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
const labelList nFaces(UPstream::listGatherValues< label >(aMesh.nFaces()))
Pair< label > labelPair
A pair of labels.
const TargetType * isA(const Type &t)
Check if dynamic_cast to TargetType is possible.
messageStream Info
Information stream (stdout output on master, null elsewhere)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.
#define forAll(list, i)
Loop across all elements in list.