46 int main(
int argc,
char *argv[])
50 "Attach topologically detached mesh using prescribed mesh modifiers" 64 const bool overwrite =
args.
found(
"overwrite");
72 <<
"Attaching sliding interface" <<
endl;
static void noFunctionObjects(bool addWithOption=false)
Remove '-noFunctionObjects' option and ignore any occurrences.
static void addNote(const string ¬e)
Add extra notes for the usage information.
void attach(const bool removeEmptyPatches=true)
Attach mesh. By default filter out empty patches.
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
static void noParallel()
Remove the parallel options.
const fileName & pointsInstance() const
Return the current instance directory for points.
A class for handling words, derived from Foam::string.
virtual bool write(const bool writeOnProc=true) const
Write mesh using IO settings from time.
This class is derived from polyMesh and serves as a tool for statically connecting pieces of a mesh b...
static word timeName(const scalar t, const int precision=precision_)
Return a time name for the given scalar time value formatted with the given precision.
void setInstance(const fileName &instance, const IOobjectOption::writeOption wOpt=IOobject::AUTO_WRITE)
Set the instance for mesh files.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Foam::argList args(argc, argv)
bool found(const word &optName) const
Return true if the named option is found.