48int main(
int argc,
char *argv[])
52 "Mirrors a mesh around a given plane."
62 const bool overwrite =
args.found(
"overwrite");
110 const_cast<fvMesh&
>(mMesh).setInstance(
mesh.facesInstance());
111 Info<<
"Writing mirrored mesh" <<
endl;
146 refData.updateMesh(map);
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
@ NO_REGISTER
Do not request registration (bool: false).
@ READ_IF_PRESENT
Reading is optional [identical to LAZY_READ].
@ NO_WRITE
Ignore writing from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
static unsigned int minPrecision(unsigned int prec) noexcept
Set the minimum default precision.
static void setAdvanced(const word &optName, bool advanced=true)
Set an existing option as being 'advanced' or normal.
static void addOption(const word &optName, const string ¶m="", const string &usage="", bool advanced=false)
Add an option to validOptions with usage information.
static void addNote(const string ¬e)
Add extra notes for the usage information.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Mesh data needed to do the Finite Volume discretisation.
virtual bool write(const bool writeOnProc=true) const
Write mesh using IO settings from time.
Various for reading/decomposing/reconstructing/distributing refinement data.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
static word defaultRegion
Return the default region name.
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh").
A class for handling words, derived from Foam::string.
const word dictName("faMeshDefinition")
List< labelList > labelListList
List of labelList.
List< label > labelList
A List of labels.
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
vectorField pointField
pointField is a vectorField.
constexpr char nl
The newline '\n' character (0x0a).
Foam::argList args(argc, argv)