KASKADE 7 development version
|
Evaluation of boundary conditions. More...
#include <variationalfunctional.hh>
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 |
Scalar VariationalFunctional::BoundaryCache::d0 | ( | ) | const |
Returns the value \(g(0)\)
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.
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.
void VariationalFunctional::BoundaryCache::evaluateAt | ( | Position const & | xi, |
Evaluators const & | evaluators | ||
) |
Construct all data that is constant at one point.
xi | the local position within the intersection/face |
evaluators | a boost::fusion sequence of evaluators corresponding to the sequence of FE spaces |
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.