37 const bool includeComponents
42 includeComponents_(includeComponents),
52 static word cmptStr(
".component(");
64 if (!includeComponents_)
67 <<
"Component specification not allowed for " <<
name
74 <<
"Cannot use \".component option\" in combination with "
75 <<
"wildcards for " <<
name
87 <<
"Invalid field component specification for "
89 <<
". Field should be expressed as <field>.component(i)"
108 this->transfer(nameAndComponent);
129 return resetFieldFilters(
fields);
167 <<
"Field " << fi.
name() <<
" not found"
label size_type
The type to represent the size of a buffer.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
void append(const T &val)
Copy append an element to the end of this list.
A HashTable with keys but without contents that is similar to std::unordered_set.
Input from string buffer, using a ISstream. Always UNCOMPRESSED.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual bool read()
Re-read model coefficients if they have changed.
void size(const label n)
Older name for setAddressableSize.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Helper class to store a wordRe and label used by Foam::functionObjects::fieldSelection.
const wordRe & name() const
Helper class to manage field selections.
virtual bool updateSelection()
Update the selection.
virtual bool containsPattern() const
Return whether the field names contain a pattern.
virtual bool checkSelection()
Check that all requested fielda have been found.
virtual bool resetFieldFilters(const HashSet< wordRe > &names)
Reset the field filters to the given field names.
virtual void clearSelection()
Clear the current selection.
Registry of regIOobjects.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
bool isPattern() const noexcept
The wordRe is a pattern, not a literal string.
A class for handling words, derived from Foam::string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define WarningInFunction
Report a warning using Foam::Warning.
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
label readLabel(const char *buf)
Parse entire buffer as a label, skipping leading/trailing whitespace.
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a)
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields