|
WXP C++ Library Version 6.74.9
|
This struct contains data for a specific upper air level. More...
#include "../include/UpaLevel.h"
Public Member Functions | |
| int | set (float rp, float rh, float rt, float rtd, float rdir, float rspd) |
| int | setPres (float v) |
| float | getPres () |
| int | setHght (float v) |
| float | getHght () |
| int | setTemp (float v) |
| float | getTemp () |
| int | setDewpt (float v) |
| float | getDewpt () |
| int | setWDir (float v) |
| float | getWDir () |
| int | setWSpd (float v) |
| float | getWSpd () |
| int | setType (int v) |
| int | getType () |
| UpaLevel () | |
| int | init () |
| int | update (UpaLevel &level) |
| int | print () |
Static Public Member Functions | |
| static bool | isMandatory (float p) |
| static int | getMandatoryIndex (float p) |
Public Attributes | |
| int | type |
| float | p |
| float | h |
| float | t |
| float | td |
| float | dir |
| float | spd |
Static Public Attributes | |
| static const int | NONE = 0 |
| static const int | MAN = 1 |
| static const int | SIG = 2 |
| static const int | WND = 3 |
| static const int | SFC = 0x04 |
| static const int | TROP = 0x10 |
| static const int | MWND = 0x20 |
| static const int | LCL = 0x40 |
This struct contains data for a specific upper air level.
| UpaLevel::UpaLevel | ( | ) |
Constructor
References init().
|
inline |
Gets the dewpoint
References td.
|
inline |
Gets the geopotential height
References h.
|
static |
Returns the mandatory level index
| p | The pressure level |
References p.
Referenced by isMandatory().
|
inline |
Gets the pressure
References p.
|
inline |
Gets the temperature
References t.
|
inline |
Gets the level type
References type.
|
inline |
Gets the wind direction
References dir.
|
inline |
Gets the wind speed
References spd.
| int UpaLevel::init | ( | ) |
Intializes the class
References dir, h, WXP::Const::MISS, p, spd, t, td, and type.
Referenced by WXP::ParcelParams::init(), and UpaLevel().
|
static |
Tests to see if level mandatory
| p | The pressure level |
References getMandatoryIndex(), and p.
| int UpaLevel::set | ( | float | rp, |
| float | rh, | ||
| float | rt, | ||
| float | rtd, | ||
| float | rdir, | ||
| float | rspd | ||
| ) |
|
inline |
Sets the dewpoint
References td.
|
inline |
Sets the geopotential height
References h.
|
inline |
Sets the pressure
References p.
|
inline |
Sets the temperature
References t.
|
inline |
|
inline |
Sets the wind direction
References dir.
|
inline |
Sets the wind speed
References spd.
| int UpaLevel::update | ( | UpaLevel & | level | ) |
| float WXP::UpaLevel::dir |
Wind direction
Referenced by WXP::UpaCalc::calc(), WXP::ProfPlot::draw(), WXP::UpaXSectPlot::draw(), getWDir(), init(), print(), set(), setWDir(), and update().
| float WXP::UpaLevel::h |
|
static |
LCL level
|
static |
Mandatory level
|
static |
Max wind level
|
static |
No level type
| float WXP::UpaLevel::p |
Pressure
Referenced by WXP::ParcelParams::calc(), WXP::UpaCalc::calc(), getMandatoryIndex(), getPres(), init(), isMandatory(), WXP::UpaCalc::meanValue(), print(), set(), WXP::ParcelParams::set(), setPres(), and update().
|
static |
Surface level
|
static |
Significant level
| float WXP::UpaLevel::spd |
Wind speed
Referenced by WXP::UpaCalc::calc(), WXP::ProfPlot::draw(), WXP::UpaXSectPlot::draw(), getWSpd(), init(), print(), set(), setWSpd(), and update().
| float WXP::UpaLevel::t |
Temperature
Referenced by WXP::ParcelParams::calc(), WXP::UpaCalc::calc(), getTemp(), init(), WXP::UpaCalc::meanValue(), print(), set(), WXP::ParcelParams::set(), setTemp(), and update().
| float WXP::UpaLevel::td |
Dewpoint
Referenced by WXP::ParcelParams::calc(), WXP::UpaCalc::calc(), getDewpt(), init(), WXP::UpaCalc::meanValue(), print(), set(), WXP::ParcelParams::set(), setDewpt(), and update().
|
static |
Tropopause level
|
static |
Wind level