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");
146 functionObjects::externalCoupled::writeGeometry
148 UPtrList<const fvMesh>(
meshes),
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const T * set(const label i) const
T get(const label index) const
Get a value from the argument at index.
bool readIfPresent(const word &optName, T &val) const
Read a value from the named option if present.
Foam::word regionName(Foam::polyMesh::defaultRegion)
Foam::PtrList< Foam::fvMesh > meshes(regionNames.size())
List< word > wordList
A List of words.
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.