Go to the documentation of this file.
50 int main(
int argc,
char *argv[])
57 runTime.functionObjects().off();
67 Pout<<
"Read " << candidateSet.size() <<
" faces to remove" <<
nl
81 faceRemover.compatibleRemoves
90 faceSet compatibleRemoves(
mesh,
"compatibleRemoves", facesToRemove);
92 Pout<<
"Original faces to be removed:" << candidateSet.size() <<
nl
93 <<
"New faces to be removed:" << compatibleRemoves.size() <<
nl
96 Pout<<
"Writing new faces to be removed to faceSet "
97 << compatibleRemoves.instance()
98 /compatibleRemoves.local()
99 /compatibleRemoves.
name()
102 compatibleRemoves.
write();
146 faceRemover.setRefinement
159 if (morphMap().hasMotionPoints())
165 faceRemover.updateMesh(morphMap);
177 Pout<<
"Writing mesh to time " << runTime.timeName() <<
endl;
static SLList< string > validArgs
A list of valid (mandatory) arguments.
A class for handling words, derived from string.
wordList ReadFields(const typename GeoMesh::Mesh &mesh, const IOobjectList &objects, PtrList< GeometricField< Type, PatchField, GeoMesh > > &fields, const bool syncPar=true, const bool readOldTime=false)
Helper routine to read Geometric fields.
Direct mesh changes based on v1.3 polyTopoChange syntax.
virtual tmp< scalarField > movePoints(const pointField &)
Move points, returns volumes swept by faces in motion.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual bool write() const
Write mesh using IO settings from time.
const fileName & pointsInstance() const
Return the current instance directory for points.
Given list of faces to remove insert all the topology changes. Contains helper function to get consis...
virtual Ostream & write(const token &)=0
Write next token to stream.
virtual const fileName & name() const
Return the name of the stream.
virtual void updateMesh(const mapPolyMesh &mpm)
Update mesh corresponding to the given map.
int main(int argc, char *argv[])
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
List of IOobjects with searching and retrieving facilities.
void setInstance(const fileName &)
Set the instance for mesh files.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Helper routine to read fields.
prefixOSstream Pout(cout, "Pout")
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
bool optionFound(const word &opt) const
Return true if the named option is found.
Foam::argList args(argc, argv)