48 int main(
int argc,
char *argv[])
52 "Detect faces that share points (baffles)\n" 53 "and duplicate the points to separate them." 66 runTime.functionObjects().off();
77 if (fields)
Info<<
"Reading geometric fields" <<
nl <<
endl;
93 pointDuplicator.setRefinement(
regionSide, meshMod);
121 if (map().hasMotionPoints())
131 Info<<
"Writing mesh to time " << runTime.timeName() <<
endl;
134 refData.topoChange(map);
List of IOobjects with searching and retrieving facilities.
const fileName & facesInstance() const
Return the current instance directory for faces.
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool optionFound(const word &opt) const
Return true if the named option is found.
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.
Takes mesh with 'baffles' (= boundary faces sharing points). Determines for selected points on bounda...
Determines the 'side' for every face and connected to a singly-connected (through edges) region of fa...
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.
Direct mesh changes based on v1.3 polyTopoChange syntax.
Various for reading/decomposing/reconstructing/distributing refinement data.
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.
static void addNote(const string &)
Add extra notes for the usage information.
Foam::argList args(argc, argv)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...