Go to the documentation of this file.
49 int main(
int argc,
char *argv[])
53 "Conformal Voronoi automatic mesh generator"
58 "Check all surface geometry for quality"
64 "Conform to the initial points without any point motion"
73 const bool conformationOnly =
args.
found(
"conformationOnly");
98 "cvSearchableSurfaces",
105 foamyHexMeshDict.subDict(
"geometry"),
106 foamyHexMeshDict.getOrDefault(
"singleRegionName",
true)
112 allGeometry.checkTopology(
true);
114 allGeometry.checkGeometry
134 if (conformationOnly)
136 mesh.initialiseForConformation();
144 mesh.initialiseForMotion();
int debug
Static debugging option.
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,...
A class for handling file names.
T getOrDefault(const word &optName, const T &deflt) const
Get a value from the named option if present, or return default.
static word timeName(const scalar t, const int precision=precision_)
static void addNote(const string ¬e)
Add extra notes for the usage information.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void writeStats(const List< wordList > &, Ostream &) const
Write some stats.
Ostream & printExecutionTime(OSstream &os) const
Print the elapsed ExecutionTime (cpu-time), ClockTime.
static void noFunctionObjects(bool addWithOption=false)
Remove '-noFunctionObjects' option and ignore any occurrences.
messageStream Info
Information stream (stdout output on master, null elsewhere)
label checkGeometry(const polyMesh &mesh, const bool allGeometry, autoPtr< surfaceWriter > &surfWriter, const autoPtr< writer< scalar >> &setWriter)
static void addBoolOption(const word &optName, const string &usage="", bool advanced=false)
Add a bool option to validOptions with usage information.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const word & system() const
Return system name.
const word & executable() const noexcept
Name of executable without the path.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Container for searchableSurfaces. The collection is specified as a dictionary. For example,...
const dimensionedScalar e
Elementary charge.
const word & constant() const
Return constant name.
Foam::argList args(argc, argv)
virtual bool run() const
Return true if run should continue,.
bool found(const word &optName) const
Return true if the named option is found.