mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: add notes to some (most) command-line options
- mapFields and splitMeshRegions need more clarification
This commit is contained in:
@ -666,12 +666,20 @@ bool splitBorderEdges
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
argList::addNote
|
||||
(
|
||||
"split multiply connected surface edges by duplicating points"
|
||||
);
|
||||
argList::noParallel();
|
||||
argList::validArgs.clear();
|
||||
|
||||
argList::validArgs.append("surface file");
|
||||
argList::validArgs.append("output surface file");
|
||||
argList::addBoolOption("debug");
|
||||
argList::validArgs.append("surfaceFile");
|
||||
argList::validArgs.append("output surfaceFile");
|
||||
argList::addBoolOption
|
||||
(
|
||||
"debug",
|
||||
"add debugging output"
|
||||
);
|
||||
|
||||
argList args(argc, argv);
|
||||
|
||||
@ -679,7 +687,6 @@ int main(int argc, char *argv[])
|
||||
const fileName outSurfName = args[2];
|
||||
const bool debug = args.optionFound("debug");
|
||||
|
||||
|
||||
Info<< "Reading surface from " << inSurfName << endl;
|
||||
|
||||
triSurface surf(inSurfName);
|
||||
|
||||
Reference in New Issue
Block a user