KASKADE 7 development version
Public Types | Public Member Functions | List of all members
Kaskade::TrivialCacheBase< AnsatzVars, TestVars > Class Template Reference

Base class simplifying the definition of domain and boundary caches. More...

#include <functional_aux.hh>

Detailed Description

template<class AnsatzVars, class TestVars>
class Kaskade::TrivialCacheBase< AnsatzVars, TestVars >

Base class simplifying the definition of domain and boundary caches.

It provides do-nothing default implementations of moveTo and evaluateAt, and zero default implementations for d0, d1, and d2.

Definition at line 280 of file functional_aux.hh.

Public Types

using Scalar = typename AnsatzVars::Scalar
 

Public Member Functions

template<class Entity >
void moveTo (Entity const &)
 
template<class Position , class Evaluators >
void evaluateAt (Position const &, Evaluators const &)
 
Scalar d0 ()
 
template<int row, int dim>
Dune::FieldVector< Scalar, TestVars::template components< row > > d1 (VariationalArg< Scalar, dim > const &arg) const
 
template<int row, int col, int dim>
Dune::FieldMatrix< Scalar, TestVars::template components< row >, AnsatzVars::template components< row > > d2 (VariationalArg< Scalar, dim > const &, VariationalArg< Scalar, dim > const &) const
 

Member Typedef Documentation

◆ Scalar

template<class AnsatzVars , class TestVars >
using Kaskade::TrivialCacheBase< AnsatzVars, TestVars >::Scalar = typename AnsatzVars::Scalar

Definition at line 283 of file functional_aux.hh.

Member Function Documentation

◆ d0()

template<class AnsatzVars , class TestVars >
Scalar Kaskade::TrivialCacheBase< AnsatzVars, TestVars >::d0 ( )
inline

Definition at line 291 of file functional_aux.hh.

◆ d1()

template<class AnsatzVars , class TestVars >
template<int row, int dim>
Dune::FieldVector< Scalar, TestVars::template components< row > > Kaskade::TrivialCacheBase< AnsatzVars, TestVars >::d1 ( VariationalArg< Scalar, dim > const &  arg) const
inline

Definition at line 297 of file functional_aux.hh.

◆ d2()

template<class AnsatzVars , class TestVars >
template<int row, int col, int dim>
Dune::FieldMatrix< Scalar, TestVars::template components< row >, AnsatzVars::template components< row > > Kaskade::TrivialCacheBase< AnsatzVars, TestVars >::d2 ( VariationalArg< Scalar, dim > const &  ,
VariationalArg< Scalar, dim > const &   
) const
inline

Definition at line 304 of file functional_aux.hh.

◆ evaluateAt()

template<class AnsatzVars , class TestVars >
template<class Position , class Evaluators >
void Kaskade::TrivialCacheBase< AnsatzVars, TestVars >::evaluateAt ( Position const &  ,
Evaluators const &   
)
inline

Definition at line 289 of file functional_aux.hh.

◆ moveTo()

template<class AnsatzVars , class TestVars >
template<class Entity >
void Kaskade::TrivialCacheBase< AnsatzVars, TestVars >::moveTo ( Entity const &  )
inline

Definition at line 286 of file functional_aux.hh.


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