dune-composites (2.5.1)

neumann_boundary_condition.hh
1#ifndef DUNE_PDELAB_NEUMANN_BOUNDARY_CONDITION_HH
2#define DUNE_PDELAB_NEUMANN_BOUNDARY_CONDITION_HH
3
4namespace Dune {
5 namespace PDELab {
6
10 :
11 public Dune::PDELab::FluxConstraintsParameters,
12 public Dune::PDELab::DirichletConstraintsParameters /*@\label{bcp:base}@*/
13 {
14 public:
15
17 {}
18
19 template<typename I>
20 bool isDirichlet(const I & ig /*@\label{bcp:name}@*/
21 , const Dune::FieldVector<typename I::ctype, I::dimension-1> & coord
22 ) const
23 {
24 return false;
25 }
26
27 template<typename I>
28 bool isNeumann(const I & ig, /*@\label{bcp:name}@*/
29 const Dune::FieldVector<typename I::ctype, I::dimension-1> & coord
30 ) const
31 {
32 return true;
33 }
34
35 };
36 }
37}
38
39#endif //DUNE_PDELAB_NEUMANN_BOUNDARY_CONDITION_HH
Definition: neumann_boundary_condition.hh:13
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden & Uni Heidelberg  |  generated with Hugo v0.111.3 (Sep 5, 22:35, 2025)