GEOS
|
#include <FieldIdentifiers.hpp>
Public Member Functions | |
void | addFields (FieldLocation const location, std::vector< string > const &fieldNames) |
adds fields to the fields map using the location to define a convenient key. More... | |
template<typename T = std::vector< string >> | |
void | addElementFields (std::vector< string > const &fieldNames, T const ®ionNames) |
adds element-based fields to the fields map using the element region names to define keys. More... | |
std::map< string, array1d< string > > const & | getFields () const |
Get the Fields object which is the map containing the fields existing for each location. More... | |
string | getRegionName (string const &key) const |
Get the Region Name object. More... | |
void | getLocation (string const &key, FieldLocation &location) const |
Get the Location object. More... | |
Class to
Definition at line 45 of file FieldIdentifiers.hpp.
|
inline |
adds element-based fields to the fields map using the element region names to define keys.
fieldNames | vector of names of the element-based fields to be added to the map. |
regionNames | vector of the regions on which these fields exist. |
Definition at line 68 of file FieldIdentifiers.hpp.
|
inline |
adds fields to the fields map using the location to define a convenient key.
location | location where the fields provided have been registered. |
fieldNames | vector of names of the element-based fields to be added to the map. |
Definition at line 55 of file FieldIdentifiers.hpp.
Get the Fields object which is the map containing the fields existing for each location.
Definition at line 81 of file FieldIdentifiers.hpp.
|
inline |
Get the Location object.
key | key used to store the list of fields in the map. |
location | mesh location where fields defined by the key provided were registered. |
Definition at line 103 of file FieldIdentifiers.hpp.
Get the Region Name object.
key | key used to store the list of fields in the map. |
Definition at line 91 of file FieldIdentifiers.hpp.