arbKrnlGal001.hh

Go to the documentation of this file.
1 
7 #ifndef bemIntArbKrnlGal001_hh
8 #define bemIntArbKrnlGal001_hh
9 
10 #ifdef __GNUG__
11 #pragma interface
12 #endif
13 
14 #include "bem/element.hh"
15 
16 namespace bem {
17 
18  // *************************************************** ArbKrnlGal001Traits **
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  // ********************************************************* ArbKrnlGal001 **
29 
38  template <class F, class K>
39  class ArbKrnlGal001 {
40  public:
42 
43  // Constructor
44  ArbKrnlGal001(K& k) : k_(k) {}
45 
51  void operator()(const Linear3d000<F>& elmX,
52  const Linear3d000<F>& elmY, F* em) const;
53  private:
54  K& k_;
55 
56  static const concepts::Real N_;
57  static const concepts::Real radonWght_[21];
58  };
59 
60 } // namespace bem
61 
62 #endif // bemIntArbKrnlGal001_hh
static F eval(K &k, const concepts::Real3d &x, const concepts::Real3d &y)
Linear triangular element.
Definition: element.hh:141
void operator()(const Linear3d000< F > &elmX, const Linear3d000< F > &elmY, F *em) const
Application operator.
ArbKrnlGal001Traits< F, K > Traits
static const concepts::Real N_
Bilinear form for arbitrary kernel with NO singularities.
Used for the basic classes of the boundary element method.
Definition: bform.hh:13
static const concepts::Real radonWght_[21]
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