31 const Foam::word Foam::functionEntries::inputSyntaxEntry::typeName
33 Foam::functionEntries::inputSyntaxEntry::typeName_()
38 int Foam::functionEntries::inputSyntaxEntry::debug(0);
41 Foam::functionEntries::inputSyntaxEntry::inputSyntax
42 Foam::functionEntries::inputSyntaxEntry::defaultSyntax_
45 ? Foam::functionEntries::inputSyntaxEntry::syntax
56 Foam::functionEntries::inputSyntaxEntry::inputSyntax
57 Foam::functionEntries::inputSyntaxEntry::syntax_
59 Foam::functionEntries::inputSyntaxEntry::defaultSyntax_
65 namespace functionEntries
80 Foam::functionEntries::inputSyntaxEntry::inputSyntax
81 Foam::functionEntries::inputSyntaxEntry::syntax
87 if (syntax ==
"slash")
91 else if (syntax ==
"dot")
98 <<
"unsupported input syntax'" << syntax
99 <<
", setting to default" 102 return defaultSyntax_;
115 syntax_ = syntax(is);
122 syntax_ = defaultSyntax_;
128 return syntax_ == SLASH;
134 return syntax_ == DOT;
140 return syntax_ == SLASH ?
'/' :
'.';
static bool slash()
Return true if the inputSyntax is slash.
static bool execute(dictionary &parentDict, Istream &)
Execute the functionEntry in a sub-dict context.
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
static bool dot()
Return true if the inputSyntax is dot.
Ostream & endl(Ostream &os)
Add newline and flush stream.
addToMemberFunctionSelectionTable(functionEntry, calcEntry, execute, dictionaryIstream)
stressControl lookup("compactNormalStress") >> compactNormalStress
A class for handling words, derived from string.
static char scopeChar()
Return true if the inputSyntax is slash.
static void clear()
Reset the inputSyntax to the default specified in etc/controlDict.
#define WarningInFunction
Report a warning using Foam::Warning.
Macros for easy insertion into member function selection tables.
dictionary & optimisationSwitches()
The OptimisationSwitches sub-dictionary in the central controlDict.