Peano 4
Loading...
Searching...
No Matches
AoSLexicographicEnumerator.cpp
Go to the documentation of this file.
1// This file is part of the ExaHyPE2 project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
4
5#if defined(GPUOffloadingOff)
6std::string exahype2::enumerator::AoSLexicographicEnumerator::toString() const {
7 std::ostringstream msg;
8 msg
9 << "(AoS-lex"
10 << ",#cells=" << _numberOfCells << ",#dofs=" << _numberOfDoFsPerAxisInCell << ",#halo=" << _haloSize << ",#unknowns=" << _unknowns << ",#aux=" << _numberOfAuxiliaryVariables
11 << ")";
12
13#if PeanoDebug > 0
14 msg
15 << ", index-sequence=["
16 << "," << (*this)(0, {0, 0}, 0) << "," << (*this)(1, {0, 0}, 0) << ",..."
17 << "," << (*this)(0, {1, 0}, 0) << "," << (*this)(0, {2, 0}, 0) << ",..."
18 << "," << (*this)(0, {0, 1}, 0) << "," << (*this)(0, {0, 2}, 0) << ",..."
19 << "," << (*this)(0, {0, 0}, 1) << "," << (*this)(0, {0, 0}, 2) << ",..."
20 << "," << this->size() << "]";
21#endif
22
23 return msg.str();
24}
25#endif
GPUCallableInlineMethod int size() const InlineMethod