DUNE PDELab (2.8)

GenericEllipticProblem< GV, RF > Class Template Reference

Public Member Functions

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

Static Public Member Functions

static constexpr bool permeabilityIsConstantPerCell ()
 tensor diffusion constant per cell? return false if you want more than one evaluation of A per cell.
 
static constexpr bool permeabilityIsConstantPerCell ()
 tensor diffusion constant per cell? return false if you want more than one evaluation of A per cell.
 
static constexpr bool permeabilityIsConstantPerCell ()
 tensor diffusion constant per cell? return false if you want more than one evaluation of A per cell.
 
static constexpr bool permeabilityIsConstantPerCell ()
 tensor diffusion constant per cell? return false if you want more than one evaluation of A per cell.
 

Detailed Description

template<typename GV, typename RF>
class GenericEllipticProblem< GV, RF >

Parameter class for the stationary convection-diffusion equation of the following form:

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

Note:

  • This formulation is valid for velocity fields which are non-divergence free.
  • Outflow boundary conditions should only be set on the outflow boundary

The template parameters are:

  • GV a model of a GridView
  • RF numeric type to represent results
Examples
recipe-geometry-grid.cc, recipe-linear-system-assembly.cc, recipe-linear-system-solution-istl.cc, and recipe-linear-system-solution-pdelab.cc.

The documentation for this class was generated from the following files:
  • doc/Recipes/recipe-geometry-grid.cc
  • doc/Recipes/recipe-linear-system-assembly.cc
  • doc/Recipes/recipe-linear-system-solution-istl.cc
  • doc/Recipes/recipe-linear-system-solution-pdelab.cc
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 21, 23:30, 2024)