In file fwhFormulation.C I found next lines:
|
sqr(r[0])+( 1 - sqr(mag(fwh_.U0_)/fwh_.c0_))*(sqr(r[1]) + sqr(r[2])) |
|
magrobs_[iObs][iSurf][i] = (-(mag(fwh_.U0_)/fwh_.c0_) * r[0] + R_)/(1 - sqr(mag(fwh_.U0_)/fwh_.c0_)); |
On these lines components of vectors r_ are used explicitly, meaning that libAcoustics is sticked to specific frame of reference. I think, that should be avoided, because we don't know in advance what frame of reference will be used by the library users.
In file fwhFormulation.C I found next lines:
libAcoustics/Sources/lib/analogies/FfowcsWilliamsHawkings/fwhFormulation.C
Line 73 in b9cd1d6
libAcoustics/Sources/lib/analogies/FfowcsWilliamsHawkings/fwhFormulation.C
Line 76 in b9cd1d6
On these lines components of vectors r_ are used explicitly, meaning that libAcoustics is sticked to specific frame of reference. I think, that should be avoided, because we don't know in advance what frame of reference will be used by the library users.