state_vector_base.h
Go to the documentation of this file.
Field_type get_type() const
Return the field type [MESH_FIELD, MULTIMATERIAL_FIELD] of the state vector.
Definition: state_vector_base.h:75
Entity_kind get_kind() const
Return the entity kind [CELL, NODE] of the state vector.
Definition: state_vector_base.h:84
Definition: state_vector_base.h:30
Factorize a number N into D equal (or nearly equal) factors.
Definition: adaptive_refinement_mesh.h:31
virtual std::ostream & print(std::ostream &os) const
Virtual methods.
Definition: state_vector_base.h:49
StateVectorBase(std::string name, Field_type type, Entity_kind kind=Entity_kind::CELL)
Constructor with a name.
Definition: state_vector_base.h:38
virtual const std::type_info & data_type() const =0
Definition: wonton.h:88
Field_type
Field type - whether it is mesh field or multi-material field.
Definition: wonton.h:187
std::string get_name() const
Query Metadata.
Definition: state_vector_base.h:65