DUNE-ACFEM (2.5.1)

Stuff that does not fit somewhere else. More...

Classes

class  Dune::ACFem::RestrictProlongPair< RP1, RP2 >
 Chain two RestrictProlong implementations together. More...
 
struct  Dune::ACFem::RestrictProlongDefaultTraits< DiscreteFunction, Rest >
 A helper class which defines the proper RestrictProlong compound data-type for tuples of Fem::DiscreteFunction implementations. More...
 
struct  Dune::ACFem::RestrictProlongDefaultTraits< DiscreteFunction >
 A helper class which defines the proper RestrictProlong compound data-type for tuples of Fem::DiscreteFunction implementations. More...
 
struct  Dune::ACFem::RestrictProlongDefaultTupleHelper< Tuple, Index >
 AFAIK, C++11 is not capable of expanding tuples into parameter packs, so this recursive helper function is used to unpack a tuple and perform the necessary constructions in order to finally have a compound RestrictProlong type. More...
 
struct  Dune::ACFem::RestrictProlongDefaultTupleHelper< Tuple, std::integral_constant< size_t, std::tuple_size< Tuple >::value-1 > >
 Recursion end-point to access the last argument of the tuple. More...
 

Functions

template<class DF >
static Fem::RestrictProlongDefault< DF > Dune::ACFem::makeRestrictProlongDefault (Fem::Function< typename DF::FunctionSpaceType, DF > &df_)
 Endpoint for the makeRestrictProlongDefault recursion. More...
 
template<class DF1 , class DF2 , class... Rest>
static RestrictProlongDefaultTraits< DF1, DF2, Rest... >::Type Dune::ACFem::makeRestrictProlongDefault (DF1 &df1, DF2 &df2, Rest &... rest)
 Take arbitrary many discrete functions of potentially different type and generate a suitable RestrictProlong implementation for use with the AdaptationManager.
 
template<class... Rest>
static RestrictProlongDefaultTraits< Rest... >::Type Dune::ACFem::makeRestrictProlongDefault (const tuple< Rest &... > &arg)
 Conveniently form a compound RestrictProlong-implementation which conforms to RestrictProlongInterface. More...
 

Detailed Description

Stuff that does not fit somewhere else.

Function Documentation

◆ makeRestrictProlongDefault() [1/2]

template<class... Rest>
static RestrictProlongDefaultTraits< Rest... >::Type Dune::ACFem::makeRestrictProlongDefault ( const tuple< Rest &... > &  arg)
inlinestatic

Conveniently form a compound RestrictProlong-implementation which conforms to RestrictProlongInterface.

This functions simply takes a std::tuple of references to DiscreteFunction instances and glues them together. The result is a RestrictProlong instance which can be added to a AdaptationManager.

Bug:
Rather a remark: C++14 will add index-sequences which can be used to unpack tuples into template parameter packs.

◆ makeRestrictProlongDefault() [2/2]

template<class DF >
static Fem::RestrictProlongDefault< DF > Dune::ACFem::makeRestrictProlongDefault ( Fem::Function< typename DF::FunctionSpaceType, DF > &  df_)
inlinestatic

Endpoint for the makeRestrictProlongDefault recursion.

Define a version for a single argument.

Referenced by Dune::ACFem::makeRestrictProlongDefault().

Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 12, 23:30, 2024)