73int main(
int argc,
char *argv[])
77 "Generate the patch geometry (points and faces) for use"
78 " with the externalCoupled functionObject."
85 "Specify alternative mesh region"
91 "Specify alternative mesh regions"
94 argList::addArgument(
"patchGroup");
99 "Specify communications directory (default is 'comms')"
110 const wordRe patchGroup(
args.get<wordRe>(1));
112 fileName commsDir(
runTime.path()/
"comms");
113 args.readIfPresent(
"commsDir", commsDir);
146 functionObjects::externalCoupled::writeGeometry
148 UPtrList<const fvMesh>(
meshes),
@ MUST_READ
Reading required.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Foam::word regionName(args.getOrDefault< word >("region", Foam::polyMesh::defaultRegion))
Foam::PtrList< Foam::fvMesh > meshes(regionNames.size())
List< word > wordList
List of word.
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
void stableSort(UList< T > &list)
Stable sort the list.
constexpr char nl
The newline '\n' character (0x0a).
Foam::argList args(argc, argv)
#define forAll(list, i)
Loop across all elements in list.