|
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.
References _numberOfAuxiliaryVariables, _unknowns, and GPUCallableInlineMethod.
| 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.
References GPUCallableInlineMethod, and InlineMethod.
| GPUCallableInlineMethod int exahype2::enumerator::SingleDoFEnumerator::size | ( | ) | const |
Definition at line 40 of file SingleDoFEnumerator.h.
References _numberOfAuxiliaryVariables, _unknowns, and GPUCallableInlineMethod.
| const int exahype2::enumerator::SingleDoFEnumerator::_numberOfAuxiliaryVariables |
Definition at line 43 of file SingleDoFEnumerator.h.
Referenced by SingleDoFEnumerator(), and size().
| const int exahype2::enumerator::SingleDoFEnumerator::_unknowns |
Definition at line 42 of file SingleDoFEnumerator.h.
Referenced by solvers.aderdg.ADERDG.ADERDG::__str__(), solvers.fv.FV.FV::__str__(), solvers.rkdg.RungeKuttaDG.RungeKuttaDG::__str__(), solvers.aderdg.ADERDG.ADERDG::_init_dictionary_with_default_parameters(), solvers.fv.FV.FV::_init_dictionary_with_default_parameters(), solvers.rkdg.RungeKuttaDG.RungeKuttaDG::_init_dictionary_with_default_parameters(), api.solvers.CollocatedLowOrderDiscretisation.CollocatedLowOrderDiscretisation::add_to_plot(), tarch.plotter.api.output.Visualiser.PatchFileData::apply_renderer_to_data(), tarch.plotter.api.output.Visualiser.PatchFileData::copy_data_from_parser_object(), api.solvers.CollocatedLowOrderDiscretisation.CollocatedLowOrderDiscretisation::number_of_matrix_entries_per_vertex(), SingleDoFEnumerator(), size(), solvers.aderdg.ADERDG.ADERDG::unknowns(), solvers.fv.FV.FV::unknowns(), solvers.fv.FV.FV::unknowns(), solvers.rkdg.RungeKuttaDG.RungeKuttaDG::unknowns(), and solvers.rkdg.RungeKuttaDG.RungeKuttaDG::unknowns().