arbKrnlGal000.hh

Go to the documentation of this file.
1 
7 #ifndef bemIntArbKrnlGal000_hh
8 #define bemIntArbKrnlGal000_hh
9 
10 #ifdef __GNUG__
11 #pragma interface
12 #endif
13 
14 #include "bem/element.hh"
15 
16 namespace bem {
17 
18  // *************************************************** ArbKrnlGal000Traits **
19 
20  template <class F, class K>
22  public:
23  static F eval(K& k, const concepts::Real3d& x, const concepts::Real3d& y) {
24  return k(x, y);
25  }
26  };
27 
28  // ********************************************************* ArbKrnlGal000 **
29 
38  template <class F, class K>
39  class ArbKrnlGal000 {
40  public:
42 
43  // Constructor
44  ArbKrnlGal000(K& k) : k_(k) {}
45 
51  void operator()(const Constant3d000<F>& elmX,
52  const Constant3d000<F>& elmY, F* em) const;
53  void operator()(const Constant3d001<F>& elmX,
54  const Constant3d001<F>& elmY, F* em) const;
55  void operator()(const Constant3d002<F>& elmX,
56  const Constant3d002<F>& elmY, F* em) const;
57  private:
58  K& k_;
59 
60  static const concepts::Real N_;
61  static const concepts::Real radonWght_[21];
62  };
63 
64 } // namespace bem
65 
66 #endif // bemIntArbKrnlGal000_hh
Bilinear form for arbitrary kernel with NO singularities.
Constant triangular element.
Definition: element.hh:239
static F eval(K &k, const concepts::Real3d &x, const concepts::Real3d &y)
ArbKrnlGal000Traits< F, K > Traits
static const concepts::Real radonWght_[21]
Constant space element with a level dependent key.
Definition: element.hh:335
Used for the basic classes of the boundary element method.
Definition: bform.hh:13
Constant triangular element with normed basis function.
Definition: element.hh:427
static const concepts::Real N_
void operator()(const Constant3d002< F > &elmX, const Constant3d002< F > &elmY, F *em) const
double Real
Type normally used for a floating point number.
Definition: typedefs.hh:36
void operator()(const Constant3d000< F > &elmX, const Constant3d000< F > &elmY, F *em) const
Application operator.
void operator()(const Constant3d001< F > &elmX, const Constant3d001< F > &elmY, F *em) const
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich