Wonton::StateVectorMultiRaw< T > Class Template Reference

#include <state_vector_multi_raw.h>

Inheritance diagram for Wonton::StateVectorMultiRaw< T >:
Wonton::StateVectorBase

Public Member Functions

 StateVectorMultiRaw (std::string name, T **hdata=nullptr)
 
 ~StateVectorMultiRaw ()
 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 *const * get_data () const
 Return a const pointer to the const 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

◆ StateVectorMultiRaw()

template<class T = double>
Wonton::StateVectorMultiRaw< T >::StateVectorMultiRaw ( std::string  name,
T **  hdata = nullptr 
)
inline

◆ ~StateVectorMultiRaw()

template<class T = double>
Wonton::StateVectorMultiRaw< T >::~StateVectorMultiRaw ( )
inline

Destructor.

Member Function Documentation

◆ data_type()

template<class T = double>
const std::type_info& Wonton::StateVectorMultiRaw< T >::data_type ( ) const
inlinevirtual

◆ get_data() [1/2]

template<class T = double>
T** Wonton::StateVectorMultiRaw< T >::get_data ( )
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>
T const* const* Wonton::StateVectorMultiRaw< T >::get_data ( ) const
inline

Return a const pointer to the const data in the state vector.

Returns
a pointer to the vector of data in the state vector

Return a reference to the data in the state vector.

◆ print()

template<class T = double>
std::ostream& Wonton::StateVectorMultiRaw< T >::print ( std::ostream &  os) const
inlinevirtual

Virtual methods.

Reimplemented from Wonton::StateVectorBase.


The documentation for this class was generated from the following file: