8#include <prismspf/config.h>
18template <
unsigned int dim,
typename number>
45 unsigned int relative_level = 0)
const;
52 unsigned int relative_level = 0);
57 [[
nodiscard]]
const MatrixFree<dim, number> &
58 get_matrix_free(
unsigned int index,
unsigned int relative_level = 0)
const;
74 [[
nodiscard]] std::pair<const SolutionLevel<dim, number> *,
unsigned int>
76 unsigned int relative_level = 0)
const;
85 std::vector<GroupSolutionHandler<dim, number> *>
solutions;
Class that manages solution initialization and swapping with old solutions.
Definition group_solution_handler.h:72
Class that provides access to solution vectors spread across different groups.
Definition solution_indexer.h:20
std::vector< GroupSolutionHandler< dim, number > * > solutions
Definition solution_indexer.h:85
const MatrixFree< dim, number > & get_matrix_free(unsigned int index, unsigned int relative_level=0) const
Get the matrixfree object of the group a given field index.
Definition solution_indexer.cc:73
unsigned int get_block_index(unsigned int global_index) const
Get the block index of a field within its solve group.
Definition solution_indexer.cc:109
std::pair< const SolutionLevel< dim, number > *, unsigned int > get_solution_level_and_block_index(unsigned int index, unsigned int relative_level=0) const
Get the matrixfree object of the group a given field index.
Definition solution_indexer.cc:98
const SolutionVector< number > & get_old_solution_vector(unsigned int age, unsigned int global_index, unsigned int relative_level=0) const
Get a solution vector of a given field index at a given age.
Definition solution_indexer.cc:49
const SolutionVector< number > & get_solution_vector(unsigned int global_index, unsigned int relative_level=0) const
Get a solution vector of a given field index.
Definition solution_indexer.cc:31
const SolveGroup & get_solve_group(unsigned int index) const
Get the solve group of a given field index.
Definition solution_indexer.cc:91
Structure to hold the attributes of a solve-group.
Definition solve_group.h:59
@ Value
Use value of the variable as a criterion for refinement.
Definition grid_refiner_criterion.h:31
BlockVector< number >::BlockType SolutionVector
Typedef for solution vector.
Definition group_solution_handler.h:35
Definition conditional_ostreams.cc:20