57 Pout<<
"void attachPolyTopoChanger::attach(): " 58 <<
"Attaching mesh" <<
endl;
76 if (removeEmptyPatches)
82 label nNewPatches = 0;
108 newPatches.setSize(nNewPatches);
119 Pout<<
"void attachPolyTopoChanger::attach(): " 120 <<
"Finished attaching mesh" <<
endl;
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
autoPtr< IOobject > clone() const
Clone.
virtual tmp< scalarField > movePoints(const pointField &)
Move points, returns volumes swept by faces in motion.
#define forAll(list, i)
Loop across all elements in list.
const word & name() const
Return name.
A class for handling file names.
const fileName & facesInstance() const
Return the current instance directory for faces.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void attach(const bool removeEmptyPatches=true)
Attach mesh. By default filter out empty patches.
Ostream & endl(Ostream &os)
Add newline and flush stream.
polyMesh & mesh_
Reference to mesh.
List of mesh modifiers defining the mesh dynamics.
virtual const pointField & oldPoints() const
Return old points for mesh motion.
virtual bool checkMesh(const bool report=false) const
Check mesh for correctness. Returns false for no error.
void addPatches(const List< polyPatch *> &, const bool validBoundary=true)
Add boundary patches.
void removeBoundary()
Remove boundary patches.
autoPtr< polyTopoChangeMap > changeMesh(const bool inflate, const bool syncParallel=true, const bool orderCells=false, const bool orderPoints=false)
void setInstance(const fileName &)
Set the instance for mesh files.
label size() const
Return the number of elements in the UPtrList.
prefixOSstream Pout(cout, "Pout")
attachPolyTopoChanger(const IOobject &io, polyMesh &)
Read constructor from IOobject and a polyMesh.
Mesh consisting of general polyhedral cells.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...