Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
tympan::BaffledFaceDirectivity Class Reference

Directivity for a baffled face. More...

#include <entities.hpp>

Inheritance diagram for tympan::BaffledFaceDirectivity:
Inheritance graph
[legend]
Collaboration diagram for tympan::BaffledFaceDirectivity:
Collaboration graph
[legend]

Public Member Functions

 BaffledFaceDirectivity (const Vector &support_normal_, double support_size_)
 Constructor. More...
 
 ~BaffledFaceDirectivity ()
 Destructor. More...
 
virtual Spectrum lwAdjustment (Vector direction, double distance)
 Directivity of a baffled face source. More...
 
- Public Member Functions inherited from tympan::CommonFaceDirectivity
 CommonFaceDirectivity (const Vector &support_normal_, double support_size_)
 Constructor. More...
 
 ~CommonFaceDirectivity ()
 Destructor. More...
 
Vector get_normal ()
 
- Public Member Functions inherited from tympan::BaseEntity
virtual ~BaseEntity ()
 Constructor. More...
 

Private Member Functions

double compute_q (int indice_Ka, int indice_theta, double ka, double theta)
 
int find_Ka_idx (double ka)
 

Static Private Attributes

static const double _tabQ [NB_KA][NB_THETA]
 
static const double _tabKa [NB_KA] = {0.05, 0.1, 0.25, 0.5, 1.0, 2.0, 5.0, 10.0, 20.0}
 

Additional Inherited Members

- Static Public Member Functions inherited from tympan::CommonFaceDirectivity
static void set_atmosphere (AtmosphericConditions *atmosphere_)
 
- Protected Member Functions inherited from tympan::BaseEntity
 BaseEntity ()
 
- Protected Attributes inherited from tympan::CommonFaceDirectivity
Vector support_normal
 
double support_size
 Normal of support face. More...
 
- Static Protected Attributes inherited from tympan::CommonFaceDirectivity
static AtmosphericConditionsatmosphere = new AtmosphericConditions(101325., 20., 70.)
 Characteristic size of support face. More...
 

Detailed Description

Directivity for a baffled face.

Definition at line 341 of file entities.hpp.

Constructor & Destructor Documentation

◆ BaffledFaceDirectivity()

tympan::BaffledFaceDirectivity::BaffledFaceDirectivity ( const Vector support_normal_,
double  support_size_ 
)
inline

Constructor.

Definition at line 344 of file entities.hpp.

◆ ~BaffledFaceDirectivity()

tympan::BaffledFaceDirectivity::~BaffledFaceDirectivity ( )
inline

Destructor.

Definition at line 349 of file entities.hpp.

Member Function Documentation

◆ compute_q()

double tympan::BaffledFaceDirectivity::compute_q ( int  indice_Ka,
int  indice_theta,
double  ka,
double  theta 
)
private

Definition at line 1052 of file entities.cpp.

Here is the caller graph for this function:

◆ find_Ka_idx()

int tympan::BaffledFaceDirectivity::find_Ka_idx ( double  ka)
private

Definition at line 1071 of file entities.cpp.

Here is the caller graph for this function:

◆ lwAdjustment()

Spectrum tympan::BaffledFaceDirectivity::lwAdjustment ( Vector  direction,
double  distance 
)
virtual

Directivity of a baffled face source.

Implements tympan::SourceDirectivityInterface.

Definition at line 1016 of file entities.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ _tabKa

const double tympan::BaffledFaceDirectivity::_tabKa = {0.05, 0.1, 0.25, 0.5, 1.0, 2.0, 5.0, 10.0, 20.0}
staticprivate

Definition at line 355 of file entities.hpp.

◆ _tabQ

const double tympan::BaffledFaceDirectivity::_tabQ
staticprivate

Definition at line 354 of file entities.hpp.


The documentation for this class was generated from the following files: