dune-pdelab  2.5-dev
Public Types | Public Member Functions | List of all members
Dune::PDELab::ConvectionDiffusionModelProblem< GV, RF > Class Template Reference

Parameter class for solving the linear convection-diffusion equation. More...

#include <dune/pdelab/localoperator/convectiondiffusionparameter.hh>

Public Types

typedef ConvectionDiffusionParameterTraits< GV, RF > Traits
 

Public Member Functions

Traits::PermTensorType A (const typename Traits::ElementType &e, const typename Traits::DomainType &x) const
 tensor diffusion coefficient More...
 
Traits::RangeType b (const typename Traits::ElementType &e, const typename Traits::DomainType &x) const
 velocity field More...
 
Traits::RangeFieldType c (const typename Traits::ElementType &e, const typename Traits::DomainType &x) const
 sink term More...
 
Traits::RangeFieldType f (const typename Traits::ElementType &e, const typename Traits::DomainType &x) const
 source term More...
 
BCType bctype (const typename Traits::IntersectionType &is, const typename Traits::IntersectionDomainType &x) const
 boundary condition type function More...
 
Traits::RangeFieldType g (const typename Traits::ElementType &e, const typename Traits::DomainType &x) const
 Dirichlet boundary condition value. More...
 
Traits::RangeFieldType j (const typename Traits::IntersectionType &is, const typename Traits::IntersectionDomainType &x) const
 Neumann boundary condition. More...
 
Traits::RangeFieldType o (const typename Traits::IntersectionType &is, const typename Traits::IntersectionDomainType &x) const
 outflow boundary condition More...
 

Detailed Description

template<typename GV, typename RF>
class Dune::PDELab::ConvectionDiffusionModelProblem< GV, RF >

Parameter class for solving the linear convection-diffusion equation.

A parameter class for the linear convection-diffusion equation

\begin{align*} -\nabla\cdot(A(x) \nabla u) + b(x)\cdot \nabla u + c(x)u &=& f \mbox{ in } \Omega, \\ u &=& g \mbox{ on } \partial\Omega_D \\ (b(x,u) - A(x)\nabla u) \cdot n &=& j \mbox{ on } \partial\Omega_N \\ -(A(x)\nabla u) \cdot n &=& o \mbox{ on } \partial\Omega_O \end{align*}

Note:

Template Parameters
Ta traits class defining the necessary types

Member Typedef Documentation

§ Traits

template<typename GV , typename RF >
typedef ConvectionDiffusionParameterTraits<GV,RF> Dune::PDELab::ConvectionDiffusionModelProblem< GV, RF >::Traits

Member Function Documentation

§ A()

template<typename GV , typename RF >
Traits::PermTensorType Dune::PDELab::ConvectionDiffusionModelProblem< GV, RF >::A ( const typename Traits::ElementType e,
const typename Traits::DomainType x 
) const
inline

tensor diffusion coefficient

§ b()

template<typename GV , typename RF >
Traits::RangeType Dune::PDELab::ConvectionDiffusionModelProblem< GV, RF >::b ( const typename Traits::ElementType e,
const typename Traits::DomainType x 
) const
inline

velocity field

§ bctype()

template<typename GV , typename RF >
BCType Dune::PDELab::ConvectionDiffusionModelProblem< GV, RF >::bctype ( const typename Traits::IntersectionType is,
const typename Traits::IntersectionDomainType x 
) const
inline

boundary condition type function

§ c()

template<typename GV , typename RF >
Traits::RangeFieldType Dune::PDELab::ConvectionDiffusionModelProblem< GV, RF >::c ( const typename Traits::ElementType e,
const typename Traits::DomainType x 
) const
inline

sink term

§ f()

template<typename GV , typename RF >
Traits::RangeFieldType Dune::PDELab::ConvectionDiffusionModelProblem< GV, RF >::f ( const typename Traits::ElementType e,
const typename Traits::DomainType x 
) const
inline

source term

§ g()

template<typename GV , typename RF >
Traits::RangeFieldType Dune::PDELab::ConvectionDiffusionModelProblem< GV, RF >::g ( const typename Traits::ElementType e,
const typename Traits::DomainType x 
) const
inline

Dirichlet boundary condition value.

§ j()

template<typename GV , typename RF >
Traits::RangeFieldType Dune::PDELab::ConvectionDiffusionModelProblem< GV, RF >::j ( const typename Traits::IntersectionType is,
const typename Traits::IntersectionDomainType x 
) const
inline

Neumann boundary condition.

§ o()

template<typename GV , typename RF >
Traits::RangeFieldType Dune::PDELab::ConvectionDiffusionModelProblem< GV, RF >::o ( const typename Traits::IntersectionType is,
const typename Traits::IntersectionDomainType x 
) const
inline

outflow boundary condition


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