Wonton::StateVectorUniRaw< T > Class Template Reference
#include <state_vector_uni_raw.h>
Inheritance diagram for Wonton::StateVectorUniRaw< T >:
Public Member Functions | |
StateVectorUniRaw (std::string name, Entity_kind kind=Entity_kind::CELL, T *pdata=nullptr) | |
~StateVectorUniRaw () | |
Destructor. More... | |
std::ostream & | print (std::ostream &os) const |
Virtual methods. More... | |
const std::type_info & | data_type () const |
T * | get_data () |
Return a pointer to the data in the state vector. More... | |
T const * | get_data () const |
Return a pointer to the data in the state vector. More... | |
Public Member Functions inherited from Wonton::StateVectorBase | |
StateVectorBase (std::string name, Field_type type, Entity_kind kind=Entity_kind::CELL) | |
Constructor with a name. More... | |
virtual | ~StateVectorBase ()=default |
Destructor. More... | |
std::string | get_name () const |
Query Metadata. More... | |
Field_type | get_type () const |
Return the field type [MESH_FIELD, MULTIMATERIAL_FIELD] of the state vector. More... | |
Entity_kind | get_kind () const |
Return the entity kind [CELL, NODE] of the state vector. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Wonton::StateVectorBase | |
std::string | name_ |
Field_type | type_ |
Entity_kind | kind_ |
Constructor & Destructor Documentation
◆ StateVectorUniRaw()
template<class T = double>
|
inline |
◆ ~StateVectorUniRaw()
template<class T = double>
|
inline |
Destructor.
Member Function Documentation
◆ data_type()
template<class T = double>
|
inlinevirtual |
Implements Wonton::StateVectorBase.
◆ get_data() [1/2]
template<class T = double>
|
inline |
Return a pointer to the data in the state vector.
- Returns
- a pointer to the vector of data in the state vector
Return a pointer to the data in the state vector.
◆ get_data() [2/2]
template<class T = double>
|
inline |
Return a pointer to the data in the state vector.
- Returns
- a pointer to the vector of data in the state vector
Return a pointer to the data in the state vector.
◆ print()
template<class T = double>
|
inlinevirtual |
Virtual methods.
Reimplemented from Wonton::StateVectorBase.
The documentation for this class was generated from the following file:
- /home/wonton/wonton/wonton/state/state_vector_uni_raw.h