47 int main(
int argc,
char *argv[])
51 "Detect faces that share points (baffles)\n" 52 "and duplicate the points to separate them." 76 if (fields)
Info<<
"Reading geometric fields" <<
nl <<
endl;
92 pointDuplicator.setRefinement(
regionSide, meshMod);
106 if (map().hasMotionPoints())
List of IOobjects with searching and retrieving facilities.
void off()
Switch the function objects off.
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.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
virtual bool write(const bool write=true) const
Write mesh using IO settings from time.
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.
virtual void updateMesh(const mapPolyMesh &mpm)
Update mesh corresponding to the given map.
A class for handling words, derived from string.
void setInstance(const fileName &)
Set the instance for mesh files.
virtual tmp< scalarField > movePoints(const pointField &)
Move points, returns volumes swept by faces in motion.
const functionObjectList & functionObjects() const
Return the list of function objects.
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.
static void addNote(const string &)
Add extra notes for the usage information.
Foam::argList args(argc, argv)