Class documentation of Concepts

Loading...
Searching...
No Matches
bform.hh
Go to the documentation of this file.
1
6#ifndef aglowav2bform_hh
7#define aglowav2bform_hh
8
9#ifdef __GUNG__
10#pragma interface
11#endif
12
14#include "aglowav2/xfy.hh"
15
16namespace aglowav2 {
17
18 // *********************************************************** AglowavBF00 **
19
28 template<class F = concepts::Real>
30 private:
32 typedef struct Nfld {
34 struct Nfld* lnk;
36 const Haar3d000<F>* elm;
38 F* valXY;
40 F* valYX;
41 } Nfld;
42
44 struct Cell {
45 F* mtsttrl;
46 F* mtrltst;
47
48 const Haar3d000<F>* elm;
49
50 Cell() : mtsttrl(0), mtrltst(0), elm(0) {}
51 };
52
53 virtual AglowavBF00* clone() const { return new AglowavBF00(bf_, XFY_); }
54 public:
62
63 void operator()(const concepts::Element<F>& elmX,
64 const concepts::Element<F>& elmY,
66 void operator()(const Haar3d000<F>& elmX, const Haar3d000<F>& elmY,
68
69 uint memory() const {return mem_;}
70
71 private:
81 void nearfield_(const Haar3d000<F>& elmX, const Haar3d000<F>& elmY,
82 F* valXY, uint ldXY, F* valYX, uint ldYX);
83
93 void updateChld_(const Haar3d000<F>& tst, const Haar3d000<F>& trl,
94 F* valtsttrl, uint ldtsttrl, F* valtrltst, uint ldtrltst);
95
105 void updateElm_(const Haar3d000<F>& tst, const Haar3d000<F>& trl,
106 F* valtsttrl, uint ldtsttrl, F* valtrltst, uint ldtrltst);
107
111 F00<F>& XFY_;
113 Nfld** nfld_;
115 uint mem_;
116
120 Nfld*** nfldLast_;
121
123 F* valXY_;
124 F* vXY_;
125 F* valYX_;
126 F* vYX_;
127 F* foo_;
128
130 Cell* cache_;
132 Cell* buf_;
134 bool reuse_;
135 };
136
137 // *********************************************************** WavIdentity **
138
142 template<class F = concepts::Real>
144 public:
145 void operator()(const concepts::Element<F>& elmX,
146 const concepts::Element<F>& elmY,
148 void operator()(const Haar3d000<F>& elmX, const Haar3d000<F>& elmY,
150 virtual WavIdentity* clone() const { return new WavIdentity(); }
151 };
152
153} // namespace aglowav2
154
155#endif // aglowav2bform_hh
AglowavBF00(concepts::BilinearForm< F > &bf, F00< F > &XFY)
virtual WavIdentity * clone() const
Definition bform.hh:150