state_vector_multi.h
Go to the documentation of this file.
std::vector< T > & get_data(int m)
Return a reference to the data in the state vector.
Definition: state_vector_multi.h:88
Definition: state_vector_base.h:30
const std::type_info & data_type() const
Definition: state_vector_multi.h:54
Factorize a number N into D equal (or nearly equal) factors.
Definition: adaptive_refinement_mesh.h:31
Definition: state_vector_multi.h:28
std::unordered_map< int, std::vector< T > > & get_data()
Return a reference to the data in the state vector.
Definition: state_vector_multi.h:66
std::unordered_map< int, std::vector< T > > const & get_data() const
Return a const reference to the data in the state vector.
Definition: state_vector_multi.h:75
StateVectorMulti(std::string name, std::unordered_map< int, std::vector< T >> data=std::unordered_map< int, std::vector< T >>())
Constructor for StateVectorMulti.
Definition: state_vector_multi.h:37
Definition: wonton.h:88
Field_type
Field type - whether it is mesh field or multi-material field.
Definition: wonton.h:187
std::vector< T > const & get_data(int m) const
Return a const reference to the data in the state vector.
Definition: state_vector_multi.h:98
~StateVectorMulti()
Destructor.
Definition: state_vector_multi.h:45
std::ostream & print(std::ostream &os) const
Virtual methods.
Definition: state_vector_multi.h:48