#include "modules/PanNDE/include/Field.hpp"
Public Member Functions | |
virtual std::shared_ptr< PanNDE::Mesh > & | mesh ()=0 |
virtual std::shared_ptr< PanNDE::Field > | field (std::string keyname)=0 |
virtual std::string | fieldName (int idx)=0 |
virtual int | fieldCount ()=0 |
virtual void | emplaceField (std::string keyname, std::shared_ptr< PanNDE::Field > field)=0 |
virtual void | emplaceField (std::string keyname, PanNDE::Field::FieldType type)=0 |
Defines a container for passing related fields with their parent mesh
|
pure virtual |
emplace new field
keyname | field name |
type | field type to be constructed |
Implemented in HostData::HostFieldBundle.
|
pure virtual |
emplace extant field
keyname | field name |
field | field to be emplaced |
|
pure virtual |
|
pure virtual |
get the number of bundled fields
Implemented in HostData::HostFieldBundle.
|
pure virtual |
get the field name by index
idx | index of the field in underlying storage |
Implemented in HostData::HostFieldBundle.
|
pure virtual |
get the parent mesh
Implemented in HostData::HostFieldBundle.