|
dune-pdelab
2.0.0
|
The grid operator represents an operator mapping which corresponds to the (possibly nonlinear) algebraic problem resulting from the discretization of a PDE. More...
#include <dune/pdelab/gridoperator/common/assembler.hh>
Public Types | |
| typedef GridOperatorTraits < GFSU, GFSV, MB, DF, RF, JF, CU, CV, AssemblerInterface, LocalAssemblerInterface > | Traits |
| The traits class. More... | |
Public Member Functions | |
| template<typename P > | |
| void | fill_pattern (P &globalpattern) const |
| Determines the sparsity pattern of the jacobian matrix. More... | |
| template<typename X , typename R > | |
| void | residual (const X &x, R &r) const |
| template<typename X , typename A > | |
| void | jacobian (const X &x, A &a) const |
| template<typename F > | |
| void | interpolate (const typename Traits::Domain &xold, const F &f, typename Traits::Domain &xnew) |
| Interpolate xnew from f, taking unconstrained values from xold. More... | |
Access to the assembler objects | |
| Assembler & | assembler () |
| LocalAssemblerInterface & | localAssembler () |
Access to the grid function spaces | |
| const GFSU & | trialGridFunctionSpace () const |
| const GFSV & | testGridFunctionSpace () const |
| GFSU::Traits::SizeType | globalSizeU () const |
| GFSV::Traits::SizeType | globalSizeV () const |
Static Public Member Functions | |
| template<typename GridOperatorTuple > | |
| static void | setupGridOperators (GridOperatorTuple &tuple) |
The grid operator represents an operator mapping which corresponds to the (possibly nonlinear) algebraic problem resulting from the discretization of a PDE.
A grid operator provides methods which allow its evaluation as well as the computation of its jacobian matrix. It therefore provides all functionality required for a direct application of the Newton method.
For numerical reasons, the field type of the jacobian matrix is allowed to differ from the operator's range field type.
| typedef GridOperatorTraits<GFSU,GFSV,MB,DF,RF,JF,CU,CV,AssemblerInterface,LocalAssemblerInterface> Dune::PDELab::GridOperatorInterface< GFSU, GFSV, MB, DF, RF, JF >::Traits |
The traits class.
| Assembler& Dune::PDELab::GridOperatorInterface< GFSU, GFSV, MB, DF, RF, JF >::assembler | ( | ) |
| void Dune::PDELab::GridOperatorInterface< GFSU, GFSV, MB, DF, RF, JF >::fill_pattern | ( | P & | globalpattern | ) | const |
Determines the sparsity pattern of the jacobian matrix.
| GFSU::Traits::SizeType Dune::PDELab::GridOperatorInterface< GFSU, GFSV, MB, DF, RF, JF >::globalSizeU | ( | ) | const |
| GFSV::Traits::SizeType Dune::PDELab::GridOperatorInterface< GFSU, GFSV, MB, DF, RF, JF >::globalSizeV | ( | ) | const |
| void Dune::PDELab::GridOperatorInterface< GFSU, GFSV, MB, DF, RF, JF >::interpolate | ( | const typename Traits::Domain & | xold, |
| const F & | f, | ||
| typename Traits::Domain & | xnew | ||
| ) |
Interpolate xnew from f, taking unconstrained values from xold.
| void Dune::PDELab::GridOperatorInterface< GFSU, GFSV, MB, DF, RF, JF >::jacobian | ( | const X & | x, |
| A & | a | ||
| ) | const |
Evaluates the jacobian matrix of the grid operator for a given point x in its domain
| LocalAssemblerInterface& Dune::PDELab::GridOperatorInterface< GFSU, GFSV, MB, DF, RF, JF >::localAssembler | ( | ) |
| void Dune::PDELab::GridOperatorInterface< GFSU, GFSV, MB, DF, RF, JF >::residual | ( | const X & | x, |
| R & | r | ||
| ) | const |
Evaluates the grid operator for a given point x in its domain
|
static |
Set up the passed-in tuple of GridOperators to cooperate, e.g. for a time-stepping method. The caller guarantees that the GridOperators will always be invoked in the order that they appear in the tuple.
| const GFSV& Dune::PDELab::GridOperatorInterface< GFSU, GFSV, MB, DF, RF, JF >::testGridFunctionSpace | ( | ) | const |
| const GFSU& Dune::PDELab::GridOperatorInterface< GFSU, GFSV, MB, DF, RF, JF >::trialGridFunctionSpace | ( | ) | const |
1.8.7