Class that provides access to solution vectors spread across different groups.
More...
|
| | 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, unsigned int relative_level=0) const |
| | Get a solution vector of a given field index.
|
| |
| SolutionVector< number > & | get_solution_vector (unsigned int global_index, unsigned int relative_level=0) |
| | Get a solution vector of a given field index.
|
| |
| 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.
|
| |
| SolutionVector< number > & | get_old_solution_vector (unsigned int age, unsigned int global_index, unsigned int relative_level=0) |
| | 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=0) 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.
|
| |
template<unsigned int dim, typename number>
class SolutionIndexer< dim, number >
Class that provides access to solution vectors spread across different groups.