Go to the documentation of this file.
42 #ifndef functionObjects_fieldSelection_H
43 #define functionObjects_fieldSelection_H
57 namespace functionObjects
66 public List<fieldInfo>
103 const bool includeComponents =
false
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
const List< fieldInfo > & selection() const
virtual bool checkSelection()
virtual bool updateSelection()
wordHashSet selectionNames() const
A HashTable with keys but without contents that is similar to std::unordered_set.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
Helper class to manage field selections.
virtual bool containsPattern() const
virtual void clearSelection()
Registry of regIOobjects.
HashSet< wordRe > filters() const
const objectRegistry & obr_
void addRegistered(DynamicList< fieldInfo > &set) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual ~fieldSelection()=default
const bool includeComponents_
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
List< fieldInfo > selection_
std::enable_if< std::is_same< bool, TypeT >::value, bool >::type set(const label i, bool val=true)
word name(const expressions::valueTypeCode typeCode)
virtual bool resetFieldFilters(const HashSet< wordRe > &names)
virtual bool read(const dictionary &dict)
List< word > names(const UPtrList< T > &list, const UnaryMatchPredicate &matcher)