Class documentation of Concepts

Loading...
Searching...
No Matches
abscWght.hh
Go to the documentation of this file.
1
6#ifndef abscWght_hh
7#define abscWght_hh
8
9#include "bemInt/exceptns.hh"
10#include "geometry/topology.hh"
11
12namespace bem {
13
14 using concepts::Real;
15
16 extern const Real int_1_PI4;
17
18 // ***************************************************************** match **
19
26 uint match(const concepts::Triangle& triX, const concepts::Triangle& triY);
27
28 // ****************************************************** GaussAbscWghtSym **
29
34 static const Real* const abswght_[8];
35 public:
36 inline const Real* const operator[](uint i) const;
37 };
38
39 inline const Real* const GaussAbscWghtSym::operator[](uint i) const {
41 return abswght_[i];
42 }
43
44 // ********************************************************* GaussAbscWght **
45
50 static const Real* const abswght_[25];
51 public:
52 inline const Real* const operator[](uint i) const;
53 };
54
55 inline const Real* const GaussAbscWght::operator[](uint i) const {
57 return abswght_[i];
58 }
59
60 // ******************************************************** Stroud defines **
61
62#define MaxStroudAbsc 7
63
64 // ******************************************************** StroudAbscWght **
65
71 static const Real* const abswght_[MaxStroudAbsc];
72 public:
73 inline const Real* const operator[](uint i) const;
74 };
75
76 inline const Real* const StroudAbscWght::operator[](uint i) const {
77 if (i >= MaxStroudAbsc)
79 return abswght_[i];
80 }
81
82 // **************************************************** StroudLinTrialWght **
83
87 static const Real* const abswght_[MaxStroudAbsc];
88 public:
89 inline const Real* const operator[](uint i) const;
90 };
91
92 inline const Real* const StroudLinTrialWght::operator[](uint i) const {
93 if (i >= MaxStroudAbsc)
95 return abswght_[i];
96 }
97
98} // namespace bem
99
100#endif // abscWght_hh
#define conceptsException(exc)
Definition bem.hh:18
uint match(const concepts::Triangle &triX, const concepts::Triangle &triY)
double Real
Definition typedefs.hh:39