Code_TYMPAN  4.2.0
Industrial site acoustic simulation
Functions
Lancer.cpp File Reference
#include "Tympan/geometric_methods/AcousticRaytracer/Geometry/Sampler.h"
#include "Tympan/geometric_methods/AcousticRaytracer/Geometry/Latitude2DSampler.h"
#include "Tympan/geometric_methods/AcousticRaytracer/Geometry/Longitude2DSampler.h"
#include "Tympan/geometric_methods/AcousticRaytracer/Geometry/UniformSphericSampler.h"
#include "Tympan/geometric_methods/AcousticRaytracer/Geometry/UniformSphericSampler2.h"
#include "meteo.h"
#include "meteoLin.h"
#include "RayCourb.h"
#include "Lancer.h"
Include dependency graph for Lancer.cpp:

Go to the source code of this file.

Functions

decimal angle_depart (const decimal &a, const decimal &c, const decimal &d, const decimal &h)
 Compute the shooting angle ray in order to travel the given minimal distance. More...
 

Function Documentation

◆ angle_depart()

decimal angle_depart ( const decimal a,
const decimal c,
const decimal d,
const decimal h 
)

Compute the shooting angle ray in order to travel the given minimal distance.

Parameters
aSound speed gradient
cGround sound speed
dMinimal distance to travel
hSource height
Returns
Shot angle of the ray.

Definition at line 478 of file Lancer.cpp.