49int 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");
83 args.executable() +
"Dict",
98 "cvSearchableSurfaces",
105 foamyHexMeshDict.subDict(
"geometry"),
106 foamyHexMeshDict.getOrDefault(
"singleRegionName",
true)
112 allGeometry.writeStats(List<wordList>(),
Info);
114 allGeometry.checkTopology(
true);
116 allGeometry.checkGeometry
129 conformalVoronoiMesh::debug =
true;
136 if (conformationOnly)
138 mesh.initialiseForConformation();
146 mesh.initialiseForMotion();
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
@ MUST_READ
Reading required.
@ NO_WRITE
Ignore writing from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
static void noFunctionObjects(bool addWithOption=false)
Remove '-noFunctionObjects' option and ignore any occurrences.
static void addBoolOption(const word &optName, const string &usage="", bool advanced=false)
Add a bool 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.
A class for handling file names.
Container for searchableSurfaces. The collection is specified as a dictionary. For example,...
label checkGeometry(const polyMesh &mesh, const bool allGeometry, autoPtr< surfaceWriter > &surfWriter, autoPtr< coordSetWriter > &setWriter)
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
constexpr char nl
The newline '\n' character (0x0a).
Foam::argList args(argc, argv)