KASKADE 7 development version
Public Member Functions | List of all members
VariationalFunctional::BoundaryCache Struct Reference

Evaluation of boundary conditions. More...

#include <variationalfunctional.hh>

Detailed Description

Evaluation of boundary conditions.

This evaluation cache concept defines the interface that is accessed by the assembler. This is not a base class, only a documentation!

Different objects have to be independent w.r.t. parallel execution.

Definition at line 205 of file variationalfunctional.hh.

Public Member Functions

void moveTo (typename Vars::GridView::IntersectionIterator const &)
 Construct all data that is constant in an entity. More...
 
template<class Position , class Evaluators >
void evaluateAt (Position const &xi, Evaluators const &evaluators)
 Construct all data that is constant at one point. More...
 
Scalar d0 () const
 
template<int row, int dim>
Dune::FieldVector< Scalar, TestVars::template Components< row >::m > d1 (VariationalArg< Scalar, dim > const &argT) const
 
template<int row, int col, int dim>
Dune::FieldMatrix< Scalar, TestVars::template Components< row >::m, AnsatzVars::template Components< row >::m > d2 (VariationalArg< Scalar, dim > const &argT, VariationalArg< Scalar, dim > const &argA) const
 

Member Function Documentation

◆ d0()

Scalar VariationalFunctional::BoundaryCache::d0 ( ) const

Returns the value \(g(0)\)

◆ d1()

template<int row, int dim>
Dune::FieldVector< Scalar, TestVars::template Components< row >::m > VariationalFunctional::BoundaryCache::d1 ( VariationalArg< Scalar, dim > const &  argT) const

Returns the directional derivative of \(g\) at \( 0 \), with respect to the variable \(u_{\mathrm{row}}\) in direction of the test function given by argT.

◆ d2()

template<int row, int col, int dim>
Dune::FieldMatrix< Scalar, TestVars::template Components< row >::m, AnsatzVars::template Components< row >::m > VariationalFunctional::BoundaryCache::d2 ( VariationalArg< Scalar, dim > const &  argT,
VariationalArg< Scalar, dim > const &  argA 
) const

Returns the second directional derivative of \( g \) at \( 0 \), with respect to the variables \(u_{\mathrm{row}}\) and \( u_{\mathrm{col}}\) in direction of the test functions given by argT and the ansatz functions, given by argA.

This method need only be defined for values of row/col for which D2<row,col>::present is true.

◆ evaluateAt()

template<class Position , class Evaluators >
void VariationalFunctional::BoundaryCache::evaluateAt ( Position const &  xi,
Evaluators const &  evaluators 
)

Construct all data that is constant at one point.

Parameters
xithe local position within the intersection/face
evaluatorsa boost::fusion sequence of evaluators corresponding to the sequence of FE spaces

◆ moveTo()

void VariationalFunctional::BoundaryCache::moveTo ( typename Vars::GridView::IntersectionIterator const &  )

Construct all data that is constant in an entity.

The intersection iterator type need not be specified, the method can be templated.


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