Code_TYMPAN  4.2.0
Industrial site acoustic simulation
Public Member Functions | Protected Attributes | List of all members
meteo Class Reference

Weather data class for the simulation. More...

#include <meteo.h>

Inheritance diagram for meteo:
Inheritance graph
[legend]

Public Member Functions

 meteo ()
 Default constructor. More...
 
 meteo (const double &windAngle, const double &sound_speed)
 Constructor. More...
 
 ~meteo ()
 
virtual void setC0 (const double &c)
 Set sound speed. More...
 
virtual double getC0 () const
 Get sound speed. More...
 
virtual void setWindAngle (const double &windAngle)
 Define wind: angle given in windrose orientation (clockwise angle with 0 for a wind from north to south) More...
 
virtual double getWindAngle () const
 Get the windrose oriented wind angle in radian (clockwise angle with 0 for a wind from north to south) More...
 
virtual void init ()
 Init parameters as needed. More...
 

Protected Attributes

double c0
 Ground sound speed (z = 0) More...
 
double wind_angle
 The windrose oriented wind angle in radian (clockwise angle with 0 for a wind from north to south) More...
 

Detailed Description

Weather data class for the simulation.

Definition at line 30 of file meteo.h.

Constructor & Destructor Documentation

◆ meteo() [1/2]

meteo::meteo ( )
inline

Default constructor.

Definition at line 34 of file meteo.h.

◆ meteo() [2/2]

meteo::meteo ( const double &  windAngle,
const double &  sound_speed 
)
inline

Constructor.

Definition at line 36 of file meteo.h.

◆ ~meteo()

meteo::~meteo ( )
inline

Definition at line 39 of file meteo.h.

Member Function Documentation

◆ getC0()

virtual double meteo::getC0 ( ) const
inlinevirtual

Get sound speed.

Definition at line 48 of file meteo.h.

◆ getWindAngle()

virtual double meteo::getWindAngle ( ) const
inlinevirtual

Get the windrose oriented wind angle in radian (clockwise angle with 0 for a wind from north to south)

Definition at line 56 of file meteo.h.

◆ init()

void meteo::init ( )
inlinevirtual

Init parameters as needed.

Reimplemented in meteoLin.

Definition at line 62 of file meteo.h.

Here is the caller graph for this function:

◆ setC0()

bool meteo::setC0 ( const double &  c)
inlinevirtual

Set sound speed.

Parameters
cNew sound speed

Definition at line 46 of file meteo.h.

Here is the caller graph for this function:

◆ setWindAngle()

void meteo::setWindAngle ( const double &  windAngle)
inlinevirtual

Define wind: angle given in windrose orientation (clockwise angle with 0 for a wind from north to south)

Definition at line 54 of file meteo.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ c0

double meteo::c0
protected

Ground sound speed (z = 0)

Definition at line 65 of file meteo.h.

◆ wind_angle

double meteo::wind_angle
protected

The windrose oriented wind angle in radian (clockwise angle with 0 for a wind from north to south)

Definition at line 66 of file meteo.h.


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