Go to the documentation of this file.
35 Foam::functionObjects::solverFieldSelection::solverFieldSelection
38 const bool includeComponents
43 if (!isA<fvMesh>(obr))
46 <<
"Registry must be of type " << fvMesh::typeName
68 for (
const word& solvedField : solvedFieldNames)
86 <<
"Valid solver fields are: " << solvedFieldNames;
virtual bool updateSelection()
Update the selection using current contents of obr_.
A class for handling words, derived from Foam::string.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
const wordRe & name() const
Helper class to store a wordRe and label used by Foam::functionObjects::fieldSelection.
virtual bool checkSelection()
Check that all requested fielda have been found.
void append(const T &val)
Append an element at the end of the list.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
Helper class to manage field selections.
Registry of regIOobjects.
const objectRegistry & obr_
Reference to the database.
void transfer(List< T > &list)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
errorManip< error > abort(error &err)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
List< fieldInfo > selection_
Current field selection.
wordList sortedToc() const
Return the sorted table of contents.
#define WarningInFunction
Report a warning using Foam::Warning.
bool match(const std::string &text, bool literal=false) const
Smart match as regular expression or as a string.