operator.hh

Go to the documentation of this file.
1 
6 #ifndef bemOperator_hh
7 #define bemOperator_hh
8 
9 #ifdef __GUNG__
10  #pragma interface
11 #endif
12 
13 #include "basics/exceptions.hh"
14 #include "operator/compositions.hh"
15 #include "bem/space.hh"
16 
17 namespace bem {
18 
19  // ********************************************************************* D **
20 
25  template <class F = concepts::Real>
26  class D : public concepts::Operator<F> {
27  public:
31  D(const concepts::Space<F>& spc);
33  ~D() {delete[] val_;}
34 
39  concepts::Function<F>& fncX);
40  void operator()(const concepts::Vector<F>& fncY,
41  concepts::Vector<F>& fncX);
42  protected:
44  std::ostream& info(std::ostream& os) const;
45 
46  private:
49  };
50 
51  // ******************************************************************* D_1 **
52 
58  template <class F = concepts::Real>
59  class D_1 : public concepts::Operator<F> {
60  public:
64  D_1(const concepts::Space<F>& spc);
66  ~D_1() {delete[] val_;}
67 
72  concepts::Function<F>& fncX);
73  void operator()(const concepts::Vector<F>& fncY,
74  concepts::Vector<F>& fncX);
75  protected:
77  std::ostream& info(std::ostream& os) const;
78 
79  private:
82  };
83 
84 } // namespace bem
85 
86 #endif // bemOperator_hh
Abstract class for a space.
concepts::Real * val_
Values of the diagonal entries.
Definition: operator.hh:48
D_1(const concepts::Space< F > &spc)
Constructor.
Abstract class for a function.
Definition: basis.hh:21
Diagonal scaling operator for the piecewise constant basis.
Definition: operator.hh:26
~D_1()
Destructor.
Definition: operator.hh:66
Diagonal scaling operator for the piecewise constant basis.
Definition: operator.hh:59
concepts::Real * val_
Values of the diagonal entries.
Definition: operator.hh:81
void operator()(const concepts::Function< F > &fncY, concepts::Function< F > &fncX)
Matrix vector multiplication.
Abstract class for an operator.
Definition: ARPACK.hh:16
void operator()(const concepts::Vector< F > &fncY, concepts::Vector< F > &fncX)
D(const concepts::Space< F > &spc)
Constructor.
Used for the basic classes of the boundary element method.
Definition: bform.hh:13
void operator()(const concepts::Function< F > &fncY, concepts::Function< F > &fncX)
Matrix vector multiplication.
~D()
Destructor.
Definition: operator.hh:33
std::ostream & info(std::ostream &os) const
Information about the operator.
void operator()(const concepts::Vector< F > &fncY, concepts::Vector< F > &fncX)
double Real
Type normally used for a floating point number.
Definition: typedefs.hh:36
std::ostream & info(std::ostream &os) const
Information about the operator.
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich