KASKADE 7 development version
Public Member Functions | List of all members
Kaskade::SumCache< Cache1, Cache2 > Class Template Reference

#include <functional_manipulation.hh>

Detailed Description

template<class Cache1, class Cache2>
class Kaskade::SumCache< Cache1, Cache2 >

Sum caches. As on the level of domain and boundary cache no information on symmetry and existence of blocks is available it is assumed that this information coincides for both caches.

Definition at line 550 of file functional_manipulation.hh.

Public Member Functions

 SumCache (Cache1 const &cache1_, Cache2 const &cache2_)
 
auto d0 () const -> decltype(std::declval< Cache1 >().d0()+std::declval< Cache2 >().d0())
 
template<int row, class Arg >
auto d1 (Arg const &arg) const -> decltype(std::declval< Cache1 >().template d1< row >(arg)+std::declval< Cache2 >().template d1< row >(arg))
 
template<int row, int col, class Arg1 , class Arg2 >
auto d2 (Arg1 const &arg1, Arg2 const &arg2) const -> decltype(std::declval< Cache1 >().template d2< row, col >(arg1, arg2)+std::declval< Cache2 >().template d2< row, col >(arg1, arg2))
 

Constructor & Destructor Documentation

◆ SumCache()

template<class Cache1 , class Cache2 >
Kaskade::SumCache< Cache1, Cache2 >::SumCache ( Cache1 const &  cache1_,
Cache2 const &  cache2_ 
)
inline

Definition at line 553 of file functional_manipulation.hh.

Member Function Documentation

◆ d0()

template<class Cache1 , class Cache2 >
auto Kaskade::SumCache< Cache1, Cache2 >::d0 ( ) const -> decltype(std::declval<Cache1>().d0()+std::declval<Cache2>().d0())
inline

Definition at line 556 of file functional_manipulation.hh.

◆ d1()

template<class Cache1 , class Cache2 >
template<int row, class Arg >
auto Kaskade::SumCache< Cache1, Cache2 >::d1 ( Arg const &  arg) const -> decltype(std::declval<Cache1>().template d1<row>(arg)+std::declval<Cache2>().template d1<row>(arg))
inline

Definition at line 562 of file functional_manipulation.hh.

◆ d2()

template<class Cache1 , class Cache2 >
template<int row, int col, class Arg1 , class Arg2 >
auto Kaskade::SumCache< Cache1, Cache2 >::d2 ( Arg1 const &  arg1,
Arg2 const &  arg2 
) const -> decltype(std::declval<Cache1>().template d2<row,col>(arg1,arg2)+std::declval<Cache2>().template d2<row,col>(arg1,arg2))
inline

Definition at line 568 of file functional_manipulation.hh.


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