constSLP_aw.hh

Go to the documentation of this file.
1 
7 #ifndef constSLP_aw_hh
8 #define constSLP_aw_hh
9 
10 #include "bemInt/exceptns.hh"
11 #include "basics/typedefs.hh"
12 
13 namespace bem {
14 
15  using concepts::Real;
16 
17  // *************************************************** ConstSLPAbscWghtPnl **
18 
23  static const Real* const abswght_[10];
24  public:
25  inline const Real* const operator[](uint i) const;
26  };
27 
28  inline const Real* const ConstSLPAbscWghtPnl::operator[](uint i) const {
29  if (i >= 10) throw conceptsException(NoOfIntegrationPointsToHigh());
30  return abswght_[i];
31  }
32 
33  // *************************************************** ConstSLPAbscWghtEdg **
34 
39  static const Real* const abswght_[10];
40  public:
41  inline const Real* const operator[](uint i) const;
42  };
43 
44  inline const Real* const ConstSLPAbscWghtEdg::operator[](uint i) const {
45  if (i >= 10) throw conceptsException(NoOfIntegrationPointsToHigh());
46  return abswght_[i];
47  }
48 
49  // *************************************************** ConstSLPAbscWghtVtx **
50 
55  static const Real* const abswght_[10];
56  public:
57  inline const Real* const operator[](uint i) const;
58  };
59 
60  inline const Real* const ConstSLPAbscWghtVtx::operator[](uint i) const {
61  if (i >= 10) throw conceptsException(NoOfIntegrationPointsToHigh());
62  return abswght_[i];
63  }
64 
65 } // namespace bem
66 
67 #endif // constSLP_aw_hh
68 
static const Real *const abswght_[10]
Definition: constSLP_aw.hh:23
static const Real *const abswght_[10]
Definition: constSLP_aw.hh:55
const Real *const operator[](uint i) const
Definition: constSLP_aw.hh:60
#define conceptsException(exc)
Prepares an exception for throwing.
Definition: exceptions.hh:344
const Real *const operator[](uint i) const
Definition: constSLP_aw.hh:28
Abscissas and weights for the case of common edge, single layer potential and constant test/trial fun...
Definition: constSLP_aw.hh:38
Abscissas and weights for the case of common vertex, single layer potential and constant test/trial f...
Definition: constSLP_aw.hh:54
Used for the basic classes of the boundary element method.
Definition: bform.hh:13
const Real *const operator[](uint i) const
Definition: constSLP_aw.hh:44
Abscissas and weights for the case of common panel, single layer potential and constant test/trial fu...
Definition: constSLP_aw.hh:22
static const Real *const abswght_[10]
Definition: constSLP_aw.hh:39
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