|
Peano
|
Default enumerator for dofs. More...
#include <SingleDoFEnumerator.h>
Public Member Functions | |
| constexpr GPUCallableInlineMethod | SingleDoFEnumerator (int unknowns, int numberOfAuxiliaryVariables) |
| GPUCallableInlineMethod int | operator() (int, const tarch::la::Vector< Dimensions, int > &, int unknown) const InlineMethod |
| Access an index. | |
| GPUCallableInlineMethod int | size () const |
Data Fields | |
| const int | _unknowns |
| const int | _numberOfAuxiliaryVariables |
Default enumerator for dofs.
We assume that we have a lexicographic ordering of the cell data and all data therein are ordered lexicographically and stored in as AoS.
Definition at line 22 of file SingleDoFEnumerator.h.
|
constexpr |
Definition at line 23 of file SingleDoFEnumerator.h.
| GPUCallableInlineMethod int exahype2::enumerator::SingleDoFEnumerator::operator() | ( | int | , |
| const tarch::la::Vector< Dimensions, int > & | , | ||
| int | unknown ) const |
Access an index.
The index always refers to the interior of the cells. So you can use negative indices if you want.
Definition at line 34 of file SingleDoFEnumerator.h.
| GPUCallableInlineMethod int exahype2::enumerator::SingleDoFEnumerator::size | ( | ) | const |
Definition at line 40 of file SingleDoFEnumerator.h.
References _numberOfAuxiliaryVariables, and _unknowns.
Referenced by peano4.visualisation.input.Patch.Patch::__repr__().

| const int exahype2::enumerator::SingleDoFEnumerator::_numberOfAuxiliaryVariables |
Definition at line 43 of file SingleDoFEnumerator.h.
Referenced by size().
| const int exahype2::enumerator::SingleDoFEnumerator::_unknowns |
Definition at line 42 of file SingleDoFEnumerator.h.
Referenced by exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG::__str__(), exahype2.solvers.rkfd.CellCenteredFiniteDifferences.CellCenteredFiniteDifferences::__str__(), exahype2.solvers.aderdg.ADERDG.ADERDG::_init_dictionary_with_default_parameters(), exahype2.solvers.fv.FV.FV::_init_dictionary_with_default_parameters(), exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG::_init_dictionary_with_default_parameters(), exahype2.solvers.rkfd.CellCenteredFiniteDifferences.CellCenteredFiniteDifferences::_init_dictionary_with_default_parameters(), api.solvers.CollocatedLowOrderDiscretisation.CollocatedLowOrderDiscretisation::add_to_plot(), peano4.visualisation.output.Visualiser.PatchFileData::apply_renderer_to_data(), peano4.visualisation.output.Visualiser.PatchFileData::copy_data_from_parser_object(), api.solvers.CollocatedLowOrderDiscretisation.CollocatedLowOrderDiscretisation::number_of_matrix_entries_per_vertex(), size(), exahype2.solvers.aderdg.ADERDG.ADERDG::unknowns(), exahype2.solvers.fv.FV.FV::unknowns(), exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG::unknowns(), exahype2.solvers.rkfd.CellCenteredFiniteDifferences.CellCenteredFiniteDifferences::unknowns(), exahype2.solvers.fv.FV.FV::unknowns(), exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG::unknowns(), and exahype2.solvers.rkfd.CellCenteredFiniteDifferences.CellCenteredFiniteDifferences::unknowns().