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)
114 allGeometry.checkTopology(
true);
116 allGeometry.checkGeometry
136 if (conformationOnly)
138 mesh.initialiseForConformation();
146 mesh.initialiseForMotion();
static void noFunctionObjects(bool addWithOption=false)
Remove '-noFunctionObjects' option and ignore any occurrences.
static void addNote(const string ¬e)
Add extra notes for the usage information.
A class for handling file names.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
static void addBoolOption(const word &optName, const string &usage="", bool advanced=false)
Add a bool option to validOptions with usage information.
Ignore writing from objectRegistry::writeObject()
T getOrDefault(const word &optName, const T &deflt) const
Get a value from the named option if present, or return default.
virtual bool run() const
Return true if run should continue,.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
const dimensionedScalar e
Elementary charge.
const word & executable() const noexcept
Name of executable without the path.
const word & system() const noexcept
Return system name.
Container for searchableSurfaces. The collection is specified as a dictionary. For example...
static word timeName(const scalar t, const int precision=precision_)
Return a time name for the given scalar time value formatted with the given precision.
const word & constant() const noexcept
Return constant name.
int debug
Static debugging option.
Ostream & printExecutionTime(OSstream &os) const
Print the elapsed ExecutionTime (cpu-time), ClockTime.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Foam::argList args(argc, argv)
Defines the attributes of an object for which implicit objectRegistry management is supported...
bool found(const word &optName) const
Return true if the named option is found.
label checkGeometry(const polyMesh &mesh, const bool allGeometry, autoPtr< surfaceWriter > &surfWriter, autoPtr< coordSetWriter > &setWriter)