Fourier coefficients of the wave field of a vertical single line source in homogeneous full space
Definition at line 127 of file fcsingleforce.cc.
References Fourier, hankel(), IME, and sqrtfct().
Referenced by singlevelocitytransformation().
134 const double tp=offset/vp;
135 const double ts=offset/vs;
138 for (
int i=0; i<n; ++i)
146 gLN(i) -=
sqrtfct(t/offset,vs);
148 gLN(i) *= (-2./offset);
155 TFourier::Tspectrum FCgLN=
Fourier(gLN, dt);
157 TFourier::Tspectrum retval(FCgLN.shape());
159 const double df=1./(n*dt);
161 for (
int i=FCgLN.f(); i<=FCgLN.l(); ++i)
163 double f=(i-FCgLN.f())*df;
165 retval(i) = -
IME*M_PI*
hankel(ts*2.*M_PI*f)/(vs*vs);
166 TFXX_debug(debug,
"zflinefc",
167 TFXX_value(i) <<
" " <<
168 TFXX_value(f) <<
" " <<
169 TFXX_value(abs(retval(i))/abs(FCgLN(i))));
171 retval(i) += FCgLN(i);
Ttimeseries::Tseries Tseries
const TFourier::Tcoeff IME
TFourier::Tcoeff hankel(const double &arg)
double sqrtfct(const double &psample, const double &v)