KASKADE 7 development version
Loading...
Searching...
No Matches
ParabolicEquation::BoundaryCache Struct Reference

Defining boundary conditions. More...

#include <variationalfunctional.hh>

Inheritance diagram for ParabolicEquation::BoundaryCache:

Public Types

typedef AnsatzVars::Grid::LeafIntersectionIterator FaceIterator
 Type of the Face Information.

Public Member Functions

 BoundaryCache (Functional const &f, typename OriginVars::VariableSet const &u, int const flags=7)
template<class FaceIterator>
void moveTo (FaceIterator const &)
template<class Position, class Evaluators>
void evaluateAt (Position const &x, Evaluators const &evaluators)
template<int row, int dim>
Dune::FieldVector< Scalar, Variables::template Components< row >::m > d1 (VariationalArg< Scalar, dim > const &arg) const
template<int row, int col, int dim>
Dune::FieldMatrix< Scalar, Variables::template components< row >, Variables::template Components< col > > d2 (VariationalArg< Scalar, dim > const &argT, VariationalArg< Scalar, dim > const &argA) const
template<int row, int col, int dim>
Dune::FieldMatrix< Scalar, Variables::template components< row >, Variables::template Components< col > > b2 (VariationalArg< Scalar, dim > const &argT, VariationalArg< Scalar, dim > const &argA) const

Detailed Description

Defining 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 933 of file variationalfunctional.hh.

Member Typedef Documentation

◆ FaceIterator

typedef AnsatzVars::Grid::LeafIntersectionIterator ParabolicEquation::BoundaryCache::FaceIterator

Type of the Face Information.

Definition at line 938 of file variationalfunctional.hh.

Constructor & Destructor Documentation

◆ BoundaryCache()

ParabolicEquation::BoundaryCache::BoundaryCache ( Functional const & f,
typename OriginVars::VariableSet const & u,
int const flags = 7 )
inline

Constructs an evaluation cache from the associated functional f_, a point of linearization u_, and flags from the assembler

Parameters
[in]flagsA bit field that tells the cache what parts are to be assembled. If flags & Assembler::RHS is false, d1() will never be called. If flags & Assembler::VALUE is false, d0() will never be called, and d2() will never be called if flags & Assembler::MATRIX is false. This information can be used to restrict the computation to the actually required quantities.

Definition at line 949 of file variationalfunctional.hh.

Member Function Documentation

◆ b2()

template<int row, int col, int dim>
Dune::FieldMatrix< Scalar, Variables::template components< row >, Variables::template Components< col > > ParabolicEquation::BoundaryCache::b2 ( VariationalArg< Scalar, dim > const & argT,
VariationalArg< Scalar, dim > const & argA ) const

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

◆ d1()

template<int row, int dim>
Dune::FieldVector< Scalar, Variables::template Components< row >::m > ParabolicEquation::BoundaryCache::d1 ( VariationalArg< Scalar, dim > const & arg) const

◆ d2()

template<int row, int col, int dim>
Dune::FieldMatrix< Scalar, Variables::template components< row >, Variables::template Components< col > > ParabolicEquation::BoundaryCache::d2 ( VariationalArg< Scalar, dim > const & argT,
VariationalArg< Scalar, dim > const & argA ) const

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 ParabolicEquation::BoundaryCache::evaluateAt ( Position const & x,
Evaluators const & evaluators )
inline

Construct all data that is constant at one point. Default implementation in EvalBaseCache: assert(false)

Definition at line 963 of file variationalfunctional.hh.

◆ moveTo()

template<class FaceIterator>
void ParabolicEquation::BoundaryCache::moveTo ( FaceIterator const & )
inline

Construct all data that is constant in an entity. Default implementation in EvalBaseCache: does nothing

Definition at line 955 of file variationalfunctional.hh.


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