Go to the documentation of this file.
48 int main(
int argc,
char *argv[])
52 "Mirrors a mesh around a given plane."
62 const bool overwrite =
args.
found(
"overwrite");
111 Info<<
"Writing mirrored mesh" <<
endl;
146 refData.updateMesh(map);
List< label > labelList
A List of labels.
vectorField pointField
pointField is a vectorField.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const word & name() const
Return name.
A class for handling words, derived from Foam::string.
virtual bool write(const bool valid=true) const
Write mesh using IO settings from time.
static word defaultRegion
Return the default region name.
label nFaces() const
Number of mesh faces.
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
static word timeName(const scalar t, const int precision=precision_)
static void addNote(const string ¬e)
Add extra notes for the usage information.
const word dictName("blockMeshDict")
const fileName & facesInstance() const
Return the current instance directory for faces.
Ostream & endl(Ostream &os)
Add newline and flush stream.
label nCells() const
Number of mesh cells.
messageStream Info
Information stream (uses stdout - output is on the master only)
static void setAdvanced(const word &optName, bool advanced=true)
Set an existing option as being 'advanced' or normal.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Various for reading/decomposing/reconstructing/distributing refinement data.
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
List< labelList > labelListList
A List of labelList.
static unsigned int defaultPrecision()
Return the default precision.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
label nPoints() const
Number of mesh points.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
HashSet< label, Hash< label > > labelHashSet
A HashSet with label keys and label hasher.
const word & constant() const
Return constant name.
static void addOption(const word &optName, const string ¶m="", const string &usage="", bool advanced=false)
Add an option to validOptions with usage information.
Foam::argList args(argc, argv)
void setInstance(const fileName &instance, const IOobject::writeOption wOpt=IOobject::AUTO_WRITE)
Set the instance for mesh files.
bool found(const word &optName) const
Return true if the named option is found.