54 int main(
int argc,
char *argv[])
62 "remove cells from input cellSet to keep to 2:1 ratio" 63 " (default is to extend set)" 77 Info<<
"Reading cells to refine from cellSet " << cellSetName
83 <<
" cells to refine from cellSet " << cellSetName <<
nl 180 if (map().hasMotionPoints())
wordList ReadFields(const Mesh &mesh, const IOobjectList &objects, PtrList< GeoField > &fields, const bool syncPar=true)
Read all fields of the specified type.
List of IOobjects with searching and retrieving facilities.
void off()
Switch the function objects off.
Type gMin(const FieldField< Field, Type > &f)
virtual bool write(const bool valid=true) const
Write mesh using IO settings from time.
label nTotalPoints() const
Return total number of points in decomposed mesh. Not.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool optionFound(const word &opt) const
Return true if the named option is found.
label nTotalCells() const
Return total number of cells in decomposed mesh.
static SLList< string > validArgs
A list of valid (mandatory) arguments.
Field reading functions for post-processing utilities.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
static const pointMesh & New(const polyMesh &mesh)
void updateMesh(const mapPolyMesh &)
Force recalculation of locally stored data on topological change.
const fileName & pointsInstance() const
Return the current instance directory for points.
virtual void updateMesh(const mapPolyMesh &mpm)
Update mesh corresponding to the given map.
label nTotalFaces() const
Return total number of faces in decomposed mesh. Not.
Refinement of (split) hexes using polyTopoChange.
A class for handling words, derived from string.
const globalMeshData & globalData() const
Return parallel info.
void setRefinement(const cellCuts &cuts, polyTopoChange &meshMod)
Do actual cutting with cut description. Inserts mesh changes.
Type gMax(const FieldField< Field, Type > &f)
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.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A collection of cell labels.
Direct mesh changes based on v1.3 polyTopoChange syntax.
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
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)
const stringList & args() const
Return arguments.