79 int main(
int argc,
char *argv[])
83 "Create fields using reduced-order modelling (ROM) data at specific " 84 "time instants without requiring any CFD computations." 91 "Alternative dictionary for ROMfieldsDict" 117 <<
"No times selected." <<
nl 129 ROMptr->createAndWrite();
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.
errorManipArg< error, int > exit(error &err, const int errNo=1)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static autoPtr< ROMmodel > New(Time &runTime, fvMesh &mesh, const dictionary &dict, const instantList ×)
Return a reference to the selected ROMmodel.
const word & name() const noexcept
Return the object name.
constexpr char nl
The newline '\n' character (0x0a)
bool empty() const noexcept
True if List is empty (ie, size() is zero)
const word dictName("faMeshDefinition")
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
static void removeOption(const word &optName)
Remove option from validOptions and from optionUsage.
A class for handling words, derived from Foam::string.
static void addOption(const word &optName, const string ¶m="", const string &usage="", bool advanced=false)
Add an option to validOptions with usage information.
Ostream & printExecutionTime(OSstream &os) const
Print the elapsed ExecutionTime (cpu-time), ClockTime.
static instantList select0(Time &runTime, const argList &args)
Return the set of times selected based on the argList options and also set the runTime to the first i...
messageStream Info
Information stream (stdout output on master, null elsewhere)
Foam::argList args(argc, argv)
static void addOptions(const bool constant=true, const bool withZero=false)
Add timeSelector options to argList::validOptions.