45 int main(
int argc,
char *argv[])
62 Info<<
"Writing VTK files with weights of AMI patches." <<
nl <<
endl;
pimpleNoLoopControl & pimple
virtual bool loop()
Return true if run should continue and if so increment time.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool optionFound(const word &opt) const
Return true if the named option is found.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none/any.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
virtual const dictionary & dict() const
Return the solution dictionary.
virtual bool checkMesh(const bool report=false) const
Check mesh for correctness. Returns false for no error.
virtual bool update()=0
Update the mesh for both mesh motion and topology change.
time_t elapsedClockTime() const
Returns wall-clock time from clock instantiation.
double elapsedCpuTime() const
Return CPU time (in seconds) from the start.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
Pimple control class. Provides time-loop control methods which exit the simulation once convergence c...
void writeAMIWeightsSums(const polyMesh &)
Write out the weights-sums on all the AMI patches.
bool loop(Time &time)
Time loop loop.
static void addBoolOption(const word &opt, const string &usage="")
Add to a bool option to validOptions with usage information.
virtual bool write(const bool write=true) const
Write using setting from DB.
Foam::argList args(argc, argv)