73 int 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");
148 UPtrList<const fvMesh>(
meshes),
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
void stableSort(UList< T > &list)
Stable sort the list.
#define forAll(list, i)
Loop across all elements in list.
Foam::PtrList< Foam::fvMesh > meshes(regionNames.size())
const T * set(const label i) const
Return const pointer to element (can be nullptr), or nullptr for out-of-range access (ie...
List< word > wordList
List of word.
T get(const label index) const
Get a value from the argument at index.
Foam::word regionName(args.getOrDefault< word >("region", Foam::polyMesh::defaultRegion))
messageStream Info
Information stream (stdout output on master, null elsewhere)
bool readIfPresent(const word &optName, T &val) const
Read a value from the named option if present.
Foam::argList args(argc, argv)
Defines the attributes of an object for which implicit objectRegistry management is supported...