@@ -50,7 +50,6 @@ template <typename DerivativeTraits, typename ProfilePolicy>
50
50
class GreensFunction : public IGreensFunction {
51
51
public:
52
52
GreensFunction (const ProfilePolicy & p) : delta_(1.0e-04 ), profile_(p) {}
53
- virtual ~GreensFunction () {}
54
53
/* ! @{ Methods to sample the Green's function directional derivatives */
55
54
/* ! Returns value of the directional derivative of the
56
55
* Greens's function for the pair of points p1, p2:
@@ -138,10 +137,6 @@ class GreensFunction : public IGreensFunction {
138
137
return pcm::is_same<ProfilePolicy, dielectric_profile::Uniform>::value;
139
138
}
140
139
141
- friend std::ostream & operator <<(std::ostream & os, GreensFunction & gf) {
142
- return gf.printObject (os);
143
- }
144
-
145
140
protected:
146
141
/* ! Evaluates the Green's function given a pair of points
147
142
* \param[in] source the source point
@@ -185,7 +180,6 @@ template <typename ProfilePolicy>
185
180
class GreensFunction <Stencil, ProfilePolicy> : public IGreensFunction {
186
181
public:
187
182
GreensFunction (const ProfilePolicy & p) : delta_(1.0e-04 ), profile_(p) {}
188
- virtual ~GreensFunction () {}
189
183
/* ! @{ Methods to sample the Green's function directional derivatives */
190
184
/* ! Returns value of the directional derivative of the
191
185
* Greens's function for the pair of points p1, p2:
@@ -272,10 +266,6 @@ class GreensFunction<Stencil, ProfilePolicy> : public IGreensFunction {
272
266
return pcm::is_same<ProfilePolicy, dielectric_profile::Uniform>::value;
273
267
}
274
268
275
- friend std::ostream & operator <<(std::ostream & os, GreensFunction & gf) {
276
- return gf.printObject (os);
277
- }
278
-
279
269
protected:
280
270
/* ! Evaluates the Green's function given a pair of points
281
271
* \param[in] source the source point
0 commit comments