ryujin 2.1.1 revision 0348cbb53a3e4b1da2a4c037e81f88f2d21ce219
Classes | Typedefs | Functions
ryujin::Vectors Namespace Reference

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)
 

Detailed Description

A namespace for various vector type aliases.

Typedef Documentation

◆ ScalarVector

template<typename Number >
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.

◆ BlockVector

template<typename Number >
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.

◆ StateVector

template<typename Number , unsigned int problem_dim, unsigned int prec_dim>
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.

Function Documentation

◆ debug_poison_constrained_dofs()

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 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.

◆ debug_poison_precomputed_values()

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 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.

◆ reinit_state_vector()

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 ryujin::Vectors::reinit_state_vector ( StateVector< Number, problem_dimension, prec_dimension > &  state_vector,
const OfflineData< dim, Number > &  offline_data 
)