|
| 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
|
| |
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
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.