| 117 | } |
| 118 | |
| 119 | bool gaussian_src_time::is_equal(const src_time &t) const { |
| 120 | const gaussian_src_time *tp = dynamic_cast<const gaussian_src_time *>(&t); |
| 121 | if (tp) |
| 122 | return (tp->freq == freq && tp->width == width && tp->peak_time == peak_time && |
| 123 | tp->cutoff == cutoff); |
| 124 | else |
| 125 | return 0; |
| 126 | } |
| 127 | |
| 128 | complex<double> continuous_src_time::dipole(double time) const { |
| 129 | float rtime = float(time); |