46int main(
int argc,
char *argv[])
50 "Attach topologically detached mesh using prescribed mesh modifiers"
55 argList::noParallel();
56 argList::noFunctionObjects();
62 const word oldInstance =
mesh.pointsInstance();
64 const bool overwrite =
args.
found(
"overwrite");
72 <<
"Attaching sliding interface" <<
endl;
78 mesh.setInstance(oldInstance);
bool found(const word &optName) const
Return true if the named option is found.
This class is derived from polyMesh and serves as a tool for statically connecting pieces of a mesh b...
void attach(const bool removeEmptyPatches=true)
Attach mesh. By default filter out empty patches.
A class for handling words, derived from Foam::string.
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)