dune-pdelab  2.0.0
diffusionparam.hh
Go to the documentation of this file.
1 #ifndef DUNE_PDELAB_DIFFUSIONPARAM_HH
2 #define DUNE_PDELAB_DIFFUSIONPARAM_HH
3 
4 #include <iostream>
5 #include <dune/common/deprecated.hh>
6 
7 namespace Dune {
8  namespace PDELab {
12 
17  enum Type {
19  Neumann = 0,
22  };
23 
25  static bool isDirichlet (Type i)
26  {
27  return (i == Dirichlet);
28  }
30  static bool isNeumann (Type i)
31  {
32  return (i == Neumann);
33  }
34  };
36  }
37 }
38 
39 #endif // DUNE_PDELAB_DIFFUSIONPARAM_HH
Neumann boundary condition (prescribed flux)
Definition: diffusionparam.hh:19
Group types and methods to specify the boundary condition of a diffusion problem. ...
Definition: diffusionparam.hh:15
static bool isDirichlet(Type i)
Test for Dirichlet boundary condition.
Definition: diffusionparam.hh:25
Dirichlet boundary condition (prescribed value)
Definition: diffusionparam.hh:21
Type
Enum for the Boundary condition type of a diffusion problem.
Definition: diffusionparam.hh:17
static bool isNeumann(Type i)
Test for Neumann boundary condition.
Definition: diffusionparam.hh:30