50 int main(
int argc,
char *argv[])
57 "do not update fields" 63 runTime.functionObjects().off();
76 Pout<<
"Read " << candidateSet.size() <<
" faces to remove" <<
nl 90 faceRemover.compatibleRemoves
99 faceSet compatibleRemoves(
mesh,
"compatibleRemoves", facesToRemove);
101 Pout<<
"Original faces to be removed:" << candidateSet.size() <<
nl 102 <<
"New faces to be removed:" << compatibleRemoves.size() <<
nl 105 Pout<<
"Writing new faces to be removed to faceSet " 106 << compatibleRemoves.instance()
107 /compatibleRemoves.local()
108 /compatibleRemoves.
name()
111 compatibleRemoves.
write();
118 if (fields)
Info<<
"Reading geometric fields" <<
nl <<
endl;
131 faceRemover.setRefinement
144 if (map().hasMotionPoints())
150 faceRemover.topoChange(map);
162 Pout<<
"Writing mesh to time " << runTime.timeName() <<
endl;
virtual const fileName & name() const
Return the name of the stream.
Given list of faces to remove insert all the topology changes. Contains helper function to get consis...
virtual Ostream & write(const char)=0
Write character.
List of IOobjects with searching and retrieving facilities.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool optionFound(const word &opt) const
Return true if the named option is found.
static SLList< string > validArgs
A list of valid (mandatory) arguments.
Field reading functions for post-processing utilities.
virtual bool write(const bool write=true) const
Write mesh using IO settings from time.
virtual void topoChange(const polyTopoChangeMap &map)
Update mesh corresponding to the given map.
const fileName & pointsInstance() const
Return the current instance directory for points.
A class for handling words, derived from string.
virtual void setPoints(const pointField &)
Reset the points.
void setInstance(const fileName &)
Set the instance for mesh files.
prefixOSstream Pout(cout, "Pout")
Direct mesh changes based on v1.3 polyTopoChange syntax.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
static void addBoolOption(const word &opt, const string &usage="")
Add to a bool option to validOptions with usage information.
Foam::argList args(argc, argv)