KASKADE 7 development version
Loading...
Searching...
No Matches
Kaskade::TrivialCacheBase< AnsatzVars, TestVars > Class Template Reference

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

#include <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

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 287 of file functional_aux.hh.

Member Typedef Documentation

◆ Scalar

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

Definition at line 290 of file functional_aux.hh.

Member Function Documentation

◆ d0()

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

Definition at line 298 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 304 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 311 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 296 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 293 of file functional_aux.hh.


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