AMDiS 2.10
The Adaptive Multi-Dimensional Simulation Toolbox
FlatPreBasis< PreBasis > Struct Template Reference

Transform a PreBasis into one with flat index-merging strategy. More...

#include <FlatPreBasis.hpp>

Public Types

using type = PreBasis
 

Static Public Member Functions

template<class PB >
static type create (PB const &preBasis)
 Try to construct the pre-basis using a gridView.
 
static PreBasis const & create (PreBasis const &preBasis)
 Do not transform the preBasis if already flat.
 

Detailed Description

template<class PreBasis>
struct AMDiS::FlatPreBasis< PreBasis >

Transform a PreBasis into one with flat index-merging strategy.

This utility takes a pre-basis and converts recursively all index-merging stretagies into their flat analogon, i.e. BlockedInterleaved is converted into FlatInterleaved and BlockedLexicographic is transformed into FlatLexicographic.

This type-trait needs to be specialized for all PreBasis types that need special handling, like PowerPreBasis or CompositePreBasis.

()


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