Go to the documentation of this file.
60 int main(
int argc,
char *argv[])
64 "Refine a hex mesh by 2x2x2 cell splitting for the specified cellSet"
72 "Remove cells from input cellSet to keep to 2:1 ratio"
73 " (default is to extend set)"
85 const bool overwrite =
args.
found(
"overwrite");
89 Info<<
"Reading cells to refine from cellSet " << cellSetName
95 <<
" cells to refine from cellSet " << cellSetName <<
nl
192 if (map().hasMotionPoints())
A class for handling words, derived from Foam::string.
virtual bool write(const bool valid=true) const
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
wordList ReadFields(const typename GeoMesh::Mesh &mesh, const IOobjectList &objects, PtrList< GeometricField< Type, PatchField, GeoMesh >> &fields, const bool syncPar=true, const bool readOldTime=false)
static const pointMesh & New(const polyMesh &mesh, Args &&... args)
static word timeName(const scalar t, const int precision=precision_)
Direct mesh changes based on v1.3 polyTopoChange syntax.
static void addNote(const string ¬e)
virtual tmp< scalarField > movePoints(const pointField &)
Ostream & endl(Ostream &os)
void updateMesh(const mapPolyMesh &)
static void addArgument(const string &argName, const string &usage="")
const fileName & pointsInstance() const
static void noFunctionObjects(bool addWithOption=false)
virtual void updateMesh(const mapPolyMesh &mpm)
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
label nTotalPoints() const noexcept
A collection of cell labels.
List of IOobjects with searching and retrieving facilities.
static void addBoolOption(const word &optName, const string &usage="", bool advanced=false)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Field reading functions for post-processing utilities.
Refinement of (split) hexes using polyTopoChange.
void setRefinement(const cellCuts &cuts, polyTopoChange &meshMod)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static void removeFiles(const polyMesh &mesh)
label nTotalCells() const noexcept
Type gMin(const FieldField< Field, Type > &f)
const globalMeshData & globalData() const
Foam::argList args(argc, argv)
static void removeFiles(const polyMesh &)
Type gMax(const FieldField< Field, Type > &f)
void setInstance(const fileName &instance, const IOobject::writeOption wOpt=IOobject::AUTO_WRITE)
label nTotalFaces() const noexcept
bool found(const word &optName) const