ryujin 2.1.1 revision 0348cbb53a3e4b1da2a4c037e81f88f2d21ce219
|
Classes | |
class | MultiComponentVector |
Typedefs | |
template<typename Number > | |
using | ScalarVector = dealii::LinearAlgebra::distributed::Vector< Number > |
template<typename Number > | |
using | BlockVector = dealii::LinearAlgebra::distributed::BlockVector< Number > |
template<typename Number , unsigned int problem_dim, unsigned int prec_dim> | |
using | StateVector = std::tuple< MultiComponentVector< Number, problem_dim >, MultiComponentVector< Number, prec_dim >, BlockVector< Number > > |
Functions | |
std::shared_ptr< const dealii::Utilities::MPI::Partitioner > | create_vector_partitioner (const std::shared_ptr< const dealii::Utilities::MPI::Partitioner > &scalar_partitioner, const unsigned int n_components) |
template<typename Description , int dim, typename Number , typename View = typename Description::template HyperbolicSystemView<dim, Number>, int problem_dimension = View::problem_dimension, int prec_dimension = View::n_precomputed_values> | |
void | debug_poison_constrained_dofs (StateVector< Number, problem_dimension, prec_dimension > &state_vector, const OfflineData< dim, Number > &offline_data) |
template<typename Description , int dim, typename Number , typename View = typename Description::template HyperbolicSystemView<dim, Number>, int problem_dimension = View::problem_dimension, int prec_dimension = View::n_precomputed_values> | |
void | debug_poison_precomputed_values (StateVector< Number, problem_dimension, prec_dimension > &state_vector, const OfflineData< dim, Number > &offline_data) |
template<typename Description , int dim, typename Number , typename View = typename Description::template HyperbolicSystemView<dim, Number>, int problem_dimension = View::problem_dimension, int prec_dimension = View::n_precomputed_values> | |
void | reinit_state_vector (StateVector< Number, problem_dimension, prec_dimension > &state_vector, const OfflineData< dim, Number > &offline_data) |
A namespace for various vector type aliases.
using ryujin::Vectors::ScalarVector = typedef dealii::LinearAlgebra::distributed::Vector<Number> |
Shorthand for dealii::LinearAlgebra::distributed::Vector<Number>.
Definition at line 31 of file state_vector.h.
using ryujin::Vectors::BlockVector = typedef dealii::LinearAlgebra::distributed::BlockVector<Number> |
Shorthand for dealii::LinearAlgebra::distributed::BlockVector<Number>.
Definition at line 37 of file state_vector.h.
using ryujin::Vectors::StateVector = typedef std::tuple< MultiComponentVector<Number, problem_dim> , MultiComponentVector<Number, prec_dim> , BlockVector<Number> > |
A compound state vector formed by a std::tuple consisting of the hyperbolic state vector U
, precomputed values, and an "parabolic
state" vector stored as a BlockVector. All of these vectors have in common that they are associated with a hyperbolic, or parabolic state and precomputed data (derived from the hyperbolic state) for point in time.
Definition at line 48 of file state_vector.h.
void ryujin::Vectors::debug_poison_constrained_dofs | ( | StateVector< Number, problem_dimension, prec_dimension > & | state_vector, |
const OfflineData< dim, Number > & | offline_data | ||
) |
Definition at line 62 of file state_vector.h.
void ryujin::Vectors::debug_poison_precomputed_values | ( | StateVector< Number, problem_dimension, prec_dimension > & | state_vector, |
const OfflineData< dim, Number > & | offline_data | ||
) |
Definition at line 92 of file state_vector.h.
void ryujin::Vectors::reinit_state_vector | ( | StateVector< Number, problem_dimension, prec_dimension > & | state_vector, |
const OfflineData< dim, Number > & | offline_data | ||
) |
Helper function that (re)initializes all components of a StateVector to proper sizes.
Definition at line 127 of file state_vector.h.
References ryujin::OfflineData< dim, Number >::hyperbolic_vector_partitioner(), ryujin::OfflineData< dim, Number >::n_locally_owned(), ryujin::OfflineData< dim, Number >::n_parabolic_state_vectors(), ryujin::OfflineData< dim, Number >::precomputed_vector_partitioner(), and ryujin::OfflineData< dim, Number >::scalar_partitioner().