version 0.4.1
Ikarus::FlatPreBasis< PreBasis > Struct Template Reference

Transform a PreBasis into one with flat index-merging strategyThis utility takes a pre-basis and converts recursively all index-merging strategies into their flat analog, i.e. BlockedInterleaved is converted into FlatInterleaved and BlockedLexicographic is transformed into FlatLexicographic. More...

#include <ikarus/utils/flatprebasis.hh>

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. More...
 
static const PreBasis & create (const PreBasis &preBasis)
 Do not transform the preBasis if already flat. More...
 

Detailed Description

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

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

(auto) flatPreBasis(PreBasis const& preBasis)

Member Typedef Documentation

◆ type

template<class PreBasis >
using Ikarus::FlatPreBasis< PreBasis >::type = PreBasis

Member Function Documentation

◆ create() [1/2]

template<class PreBasis >
static const PreBasis & Ikarus::FlatPreBasis< PreBasis >::create ( const PreBasis &  preBasis)
inlinestatic

◆ create() [2/2]

template<class PreBasis >
template<class PB >
static type Ikarus::FlatPreBasis< PreBasis >::create ( PB const &  preBasis)
inlinestatic
Here is the caller graph for this function:

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