AcouSTO
version 2.0
◆
delaysc2()
void delaysc2
(
struct
vector
xcn
,
struct
vector
xs
,
DOUBLE
*
rad
,
DOUBLE
*
theta
)
This routine evaluates the acoustic delay between the source point xs and the influenced point xcn.
Parameters
[in]
xcn
centroid of panel
[in]
xs
position of source
[out]
rad
distance
[out]
theta
Acoustic delay
39
{
40
struct
vector
dx;
41
vec_diff
(&dx,xs,xcn);
42
*rad =
vec_mod
(dx);
43
*theta = *rad/
runinfo
->
vsound
;
44
}
runinfo
struct run_info * runinfo
Definition:
globals.h:34
run_info::vsound
DOUBLE vsound
Definition:
structs.h:102
vector
vector struct to hold triplets.
Definition:
structs.h:29
vec_mod
DOUBLE vec_mod(struct vector v1)
Definition:
math.c:121
vec_diff
void vec_diff(struct vector *vdest, const struct vector v1, const struct vector v2)
Definition:
math.c:52
Acousto2.0
trunk
src
solution
nrwash.c
Generated on Wed Apr 5 2017 14:32:03 for AcouSTO by
1.8.13