constDLP_aw.hh

Go to the documentation of this file.
1 
7 #ifndef constDLP_aw_hh
8 #define constDLP_aw_hh
9 
10 #include "bemInt/exceptns.hh"
11 #include "basics/typedefs.hh"
12 
13 namespace bem {
14 
15  using concepts::Real;
16 
17  // *************************************************** ConstDLPAbscWghtEdg **
18 
23  static const Real* const abswght_[15];
24  public:
25  inline const Real* const operator[](uint i) const;
26  };
27 
28  inline const Real* const ConstDLPAbscWghtEdg::operator[](uint i) const {
29  if (i >= 15) throw conceptsException(NoOfIntegrationPointsToHigh());
30  return abswght_[i];
31  }
32 
33  // *************************************************** ConstDLPAbscWghtVtx **
34 
39  static const Real* const abswght_[15];
40  public:
41  inline const Real* const operator[](uint i) const;
42  };
43 
44  inline const Real* const ConstDLPAbscWghtVtx::operator[](uint i) const {
45  if (i >= 15) throw conceptsException(NoOfIntegrationPointsToHigh());
46  return abswght_[i];
47  }
48 
49 } // namespace bem
50 
51 #endif // constDLP_aw_hh
#define conceptsException(exc)
Prepares an exception for throwing.
Definition: exceptions.hh:344
static const Real *const abswght_[15]
Definition: constDLP_aw.hh:23
Abscissas and weights for the case of common edge, double layer potential and constant test/trial fun...
Definition: constDLP_aw.hh:22
Abscissas and weights for the case of common vertex, double layer potential and constant test/trial f...
Definition: constDLP_aw.hh:38
const Real *const operator[](uint i) const
Definition: constDLP_aw.hh:28
Used for the basic classes of the boundary element method.
Definition: bform.hh:13
static const Real *const abswght_[15]
Definition: constDLP_aw.hh:39
const Real *const operator[](uint i) const
Definition: constDLP_aw.hh:44
Exception class to express that the number of integration points exceeds the number of precalculated ...
Definition: exceptns.hh:20
double Real
Type normally used for a floating point number.
Definition: typedefs.hh:36
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich