Peano
Loading...
Searching...
No Matches
exahype2::enumerator::SingleDoFEnumerator Struct Reference

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

Detailed Description

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.

Constructor & Destructor Documentation

◆ SingleDoFEnumerator()

GPUCallableInlineMethod exahype2::enumerator::SingleDoFEnumerator::SingleDoFEnumerator ( int unknowns,
int numberOfAuxiliaryVariables )
constexpr

Member Function Documentation

◆ operator()()

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.

◆ size()

GPUCallableInlineMethod int exahype2::enumerator::SingleDoFEnumerator::size ( ) const

Field Documentation

◆ _numberOfAuxiliaryVariables

const int exahype2::enumerator::SingleDoFEnumerator::_numberOfAuxiliaryVariables

Definition at line 43 of file SingleDoFEnumerator.h.

Referenced by SingleDoFEnumerator(), and size().

◆ _unknowns


The documentation for this struct was generated from the following file: