![]() |
PRISMS-PF Manual
|
Class that provides access to solution vectors spread across different blocks. More...
#include <solution_indexer.h>
Public Member Functions | |
| SolutionIndexer ()=default | |
| Constructor. | |
| void | init (unsigned int num_fields, const std::vector< GroupSolutionHandler< dim, number > * > &solution_handlers) |
| Initialize the solution indexer. | |
| const SolutionVector< number > & | get_solution_vector (unsigned int global_index) const |
| Get a solution vector of a given field index. | |
| SolutionVector< number > & | get_solution_vector (unsigned int global_index) |
| Get a solution vector of a given field index. | |
| const SolutionVector< number > & | get_old_solution_vector (unsigned int age, unsigned int global_index) const |
| Get a solution vector of a given field index at a given age. | |
| SolutionVector< number > & | get_old_solution_vector (unsigned int age, unsigned int global_index) |
| Get a solution vector of a given field index at a given age. | |
| const SolveBlock & | get_solve_block (unsigned int index) const |
| Get the solve group of a given field index. | |
| std::pair< const SolutionLevel< dim, number > *, unsigned int > | get_solution_level_and_block_index (unsigned int index, unsigned int relative_level=-1) const |
| Get the matrixfree object of the group a given field index. | |
| unsigned int | get_block_index (unsigned int global_index) const |
| Get the block index of a field within its solve group. | |
| std::vector< unsigned int > | get_block_indices () const |
| Get the block index of a field within its solve group. | |
Private Attributes | |
| std::vector< GroupSolutionHandler< dim, number > * > | solutions |
| std::vector< unsigned int > | block_indices |
Class that provides access to solution vectors spread across different blocks.
|
default |
Constructor.
|
nodiscard |
Get the block index of a field within its solve group.
|
nodiscard |
Get the block index of a field within its solve group.
|
nodiscard |
Get a solution vector of a given field index at a given age.
|
nodiscard |
Get a solution vector of a given field index at a given age.
|
nodiscard |
Get the matrixfree object of the group a given field index.
|
nodiscard |
Get a solution vector of a given field index.
|
nodiscard |
Get a solution vector of a given field index.
|
nodiscard |
Get the solve group of a given field index.
| PRISMS_PF_BEGIN_NAMESPACE void SolutionIndexer< dim, number >::init | ( | unsigned int | num_fields, |
| const std::vector< GroupSolutionHandler< dim, number > * > & | solution_handlers ) |
Initialize the solution indexer.
|
private |
|
private |