NMPB08 Shared Libraries
Public Member Functions
CalculPropagationNMPB::Attenuation Class Reference

Class used to sound attenuation calculations along a given path, with a specified frequency. More...

#include <CalculPropagation.h>

List of all members.

Public Member Functions

 Attenuation (PropagationPath *path, double frequency)
 Initialization of Attenuation class with the path and the frequency.
 Attenuation (PropagationPath *path, double frequency, double favourableProbability)
 Initialization of Attenuation class with the path, the frequency and the favorable probability.
double DivergenceAttenuationCalculation (double dist)
 Attenuation calculation following geometric divergence.
double AtmosphericAbsorptionCalculation (double dist, double freq)
 Atmospheric absorption.
void BoundaryAttenuationCalculation (int nbSideDiffractions)
 Calculates border attenuation, in homogeneous and favorable conditions.
void AttenuationCalculation ()
 Calculates total attenuation along the propagation path, in homogeneous and favorable conditions.
void FillFrequencyMap (map< int, double > newMap)
 Fills the _attenuationCoeffByFrequencyMap map with values of another map.
double getHomogeneousAttenuation ()
 Gets attenuation along the path in homogeneous conditions, for the given frequency.
double getFavorableAttenuation ()
 Gets attenuation along the path in favorable conditions, for the given frequency.
double getDivergenceAttenuation ()
 Gets divergence attenuation.
double getAtmosphericAbsorption ()
 Gets atmospheric absorption.
double getGroundAttenuation_h ()
 Gets ground attenuation in homogeneous conditions.
double getGroundAttenuation_f ()
 Gets ground attenuation in favorable conditions.
double getDiffractionAttenuation_h ()
 Gets diffraction attenuation in homogeneous conditions.
double getDiffractionAttenuation_f ()
 Gets diffraction attenuation in favorable conditions.
double getEmbankmentAttenuation ()
 Gets embankment attenuation.
double getBoundaryAttenuation_h ()
 Gets border attenuation in homogeneous conditions.
double getBoundaryAttenuation_f ()
 Gets border attenuation in favorable conditions.

Detailed Description

Class used to sound attenuation calculations along a given path, with a specified frequency.

Definition at line 102 of file CalculPropagation.h.


Constructor & Destructor Documentation

CalculPropagationNMPB::Attenuation::Attenuation ( PropagationPath path,
double  frequency 
)

Initialization of Attenuation class with the path and the frequency.

Parameters:
pathThe path where the attenuation will be calculated
frequencyThe frequency to calculation sound attenuation

Definition at line 194 of file CalculPropagation.cpp.

CalculPropagationNMPB::Attenuation::Attenuation ( PropagationPath path,
double  frequency,
double  favourableProbability 
)

Initialization of Attenuation class with the path, the frequency and the favorable probability.

Parameters:
pathThe path where the attenuation will be calculated
frequencyThe frequency to calculation sound attenuation
favourableProbabilityThe favorable probability

Definition at line 216 of file CalculPropagation.cpp.


Member Function Documentation

double CalculPropagationNMPB::Attenuation::AtmosphericAbsorptionCalculation ( double  dist,
double  freq 
)

Atmospheric absorption.

Method to calculate atmospheric absorption attenuation § 9.2, formula (21), p. 37

Parameters:
dist: direct distance between source and receptor
freq: third octave bands center frequency
Returns:
the calculated absorption attenuation.

Method to calculate atmospheric absorption attenuation § 9.2, formula (21), p. 37

Parameters:
dist: direct distance between source and receptor
freq: octave bands center frequency
Returns:
the calculated absorption attenuation.

Definition at line 325 of file CalculPropagation.cpp.

void CalculPropagationNMPB::Attenuation::AttenuationCalculation ( )

Calculates total attenuation along the propagation path, in homogeneous and favorable conditions.

Method to calculate total attenuation along the propagation path, in homogeneous and favorable conditions § 5.2.1, formula (4), p.17 and § 5.2.2, formula (6), p.17

Exceptions:
ERRSideDiff

Definition at line 540 of file CalculPropagation.cpp.

void CalculPropagationNMPB::Attenuation::BoundaryAttenuationCalculation ( int  nbSideDiffractions)

Calculates border attenuation, in homogeneous and favorable conditions.

Method to calculate border attenuation, in homogeneous and favorable conditions § 5.2.1 and 5.2.2, p.17-18

Parameters:
nbSideDiffractionsThe number of side diffractions in the path
Exceptions:
ERRNoPoint,ERROnePoint,ERRAttCoeffFrequency

Definition at line 404 of file CalculPropagation.cpp.

double CalculPropagationNMPB::Attenuation::DivergenceAttenuationCalculation ( double  dist)

Attenuation calculation following geometric divergence.

Method for attenuation calculation following geometric divergence § 9.1, formula (20), p. 37

Parameters:
dist: Direct distance between source and receiver.
Returns:
the calculated attenuation.

Definition at line 240 of file CalculPropagation.cpp.

void CalculPropagationNMPB::Attenuation::FillFrequencyMap ( map< int, double >  newMap)

Fills the _attenuationCoeffByFrequencyMap map with values of another map.

Parameters:
newMapThe map to get values

Definition at line 272 of file CalculPropagation.cpp.

double CalculPropagationNMPB::Attenuation::getAtmosphericAbsorption ( ) [inline]

Gets atmospheric absorption.

Returns:
atmospheric absorption

Definition at line 217 of file CalculPropagation.h.

double CalculPropagationNMPB::Attenuation::getBoundaryAttenuation_f ( ) [inline]

Gets border attenuation in favorable conditions.

Returns:
border attenuation in favorable conditions

Definition at line 287 of file CalculPropagation.h.

double CalculPropagationNMPB::Attenuation::getBoundaryAttenuation_h ( ) [inline]

Gets border attenuation in homogeneous conditions.

Returns:
border attenuation in homogeneous conditions

Definition at line 277 of file CalculPropagation.h.

double CalculPropagationNMPB::Attenuation::getDiffractionAttenuation_f ( ) [inline]

Gets diffraction attenuation in favorable conditions.

Returns:
diffraction attenuation in favorable conditions

Definition at line 257 of file CalculPropagation.h.

double CalculPropagationNMPB::Attenuation::getDiffractionAttenuation_h ( ) [inline]

Gets diffraction attenuation in homogeneous conditions.

Returns:
diffraction attenuation in homogeneous conditions

Definition at line 247 of file CalculPropagation.h.

double CalculPropagationNMPB::Attenuation::getDivergenceAttenuation ( ) [inline]

Gets divergence attenuation.

Returns:
divergence attenuation

Definition at line 207 of file CalculPropagation.h.

double CalculPropagationNMPB::Attenuation::getEmbankmentAttenuation ( ) [inline]

Gets embankment attenuation.

Returns:
embankment attenuation

Definition at line 267 of file CalculPropagation.h.

double CalculPropagationNMPB::Attenuation::getFavorableAttenuation ( ) [inline]

Gets attenuation along the path in favorable conditions, for the given frequency.

Returns:
attenuation along the path in favorable conditions, for the given frequency

Definition at line 197 of file CalculPropagation.h.

double CalculPropagationNMPB::Attenuation::getGroundAttenuation_f ( ) [inline]

Gets ground attenuation in favorable conditions.

Returns:
ground attenuation in favorable conditions

Definition at line 237 of file CalculPropagation.h.

double CalculPropagationNMPB::Attenuation::getGroundAttenuation_h ( ) [inline]

Gets ground attenuation in homogeneous conditions.

Returns:
ground attenuation in homogeneous conditions

Definition at line 227 of file CalculPropagation.h.

double CalculPropagationNMPB::Attenuation::getHomogeneousAttenuation ( ) [inline]

Gets attenuation along the path in homogeneous conditions, for the given frequency.

Returns:
attenuation along the path in homogeneous conditions, for the given frequency

Definition at line 187 of file CalculPropagation.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines