72 "List available conditions for field" 77 "List constraint patches" 82 "List fixed value patches (use with -field option)" 93 setEnv(
"FOAM_ABORT",
"",
true);
103 displayDoc(condition,
".*[fF]vPatchField.*",
false,
"H");
108 Info<<
"Constraint types:" <<
nl;
109 for (
const word& cType : constraintTypes)
111 Info<<
" " << cType <<
nl;
120 mesh.time().timeName(),
130 fixedValueFieldConditions<scalar>(fieldHeader);
131 fixedValueFieldConditions<vector>(fieldHeader);
132 fixedValueFieldConditions<sphericalTensor>(fieldHeader);
133 fixedValueFieldConditions<symmTensor>(fieldHeader);
134 fixedValueFieldConditions<tensor>(fieldHeader);
138 (void)fieldConditions<scalar>(fieldHeader,
true);
139 (void)fieldConditions<vector>(fieldHeader,
true);
140 (void)fieldConditions<sphericalTensor>(fieldHeader,
true);
141 (void)fieldConditions<symmTensor>(fieldHeader,
true);
142 (void)fieldConditions<tensor>(fieldHeader,
true);
154 <<
"-field option must be specified when using the -fixedValue " 162 displayDocOptions(
".*[fF]vPatchField.*",
false,
"H");
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.
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
helpBoundary()
Constructor.
static void addBoolOption(const word &optName, const string &usage="", bool advanced=false)
Add a bool option to validOptions with usage information.
Macros for easy insertion into run-time selection tables.
addNamedToRunTimeSelectionTable(topoSetCellSource, badQualityToCell, word, badQuality)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static void addOption(const word &optName, const string ¶m="", const string &usage="", bool advanced=false)
Add an option to validOptions with usage information.
HashSet< word, Hash< word > > wordHashSet
A HashSet of words, uses string hasher.
defineTypeNameAndDebug(combustionModel, 0)
virtual void execute(const argList &args, const fvMesh &mesh)
Execute the help.
virtual ~helpBoundary()
Destructor.
virtual void init()
Initialise - typically setting static variables,.
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)
virtual void init()
Initialise - typically setting static variables,.
bool setEnv(const word &name, const std::string &value, const bool overwrite)
Set an environment variable, return true on success.
bool found(const word &optName) const
Return true if the named option is found.
static wordList constraintTypes()
Return a list of all the constraint patch types.