|
WXP C++ Library Version 6.74.9
|
This struct stores parcel parameters. More...
#include "../include/ParcelParams.h"
Public Types | |
| enum | { SFC , LAYER , MAXT , USER } |
Public Member Functions | |
| ParcelParams () | |
| int | init () |
| int | setType (int type) |
| int | setType (float thick) |
| int | setType (float p, float t, float td) |
| int | setType (const char *str) |
| int | set (UpaData &data) |
| int | calc (UpaData &data, UpaLevel &plev) |
| int | printParcel () |
| int | print () |
Public Attributes | |
| int | par_type |
| float | par_thick |
| UpaLevel | par_lev |
| float | Satad |
| LclData | lcl |
| UpaLevel | lcl_lev |
| float | cap |
| float | lfc |
| UpaLevel | lfc_lev |
| float | el |
| UpaLevel | el_lev |
| float | mpl |
| UpaLevel | mpl_lev |
| float | Bel |
| float | Bmpl |
| float | Bplus |
| float | Bminus |
| float | li |
| float | wmax |
| float | max_t |
This struct stores parcel parameters.
| ParcelParams::ParcelParams | ( | ) |
Constructor
References init().
Compute all parcel parameters
| data | The sounding data |
| plev | The initial level |
References WXP::Convert::CtoK(), WXP::Convert::KtoC(), WXP::Calc::lcl(), WXP::Const::MISS, WXP::Wxp::outDebug(), WXP::LclData::p, WXP::UpaLevel::p, WXP::Calc::potTemp(), WXP::VCoord::PRES, WXP::LclData::t, WXP::UpaLevel::t, WXP::UpaLevel::td, WXP::Calc::tempOnDryAd(), WXP::Calc::tempOnSatAd(), and WXP::Calc::thetaeOnSatAd().
Referenced by set().
| int ParcelParams::init | ( | ) |
Initializes the object
References WXP::LclData::init(), WXP::UpaLevel::init(), and WXP::Const::MISS.
Referenced by ParcelParams().
| int ParcelParams::set | ( | UpaData & | data | ) |
Sets the base level and compute the parcel parameters
| data | The sounding data |
References calc(), WXP::Convert::KtoC(), WXP::Const::MISS, WXP::ParcelMeanData::o, WXP::UpaLevel::p, WXP::VCoord::PRES, WXP::VCoord::set(), WXP::UpaLevel::t, WXP::UpaLevel::td, WXP::Calc::tempOnDryAd(), WXP::Calc::tempOnMixRat(), WXP::UpaCalc::thickTop(), and WXP::ParcelMeanData::w.
Referenced by WXP::UpaDataTool::compute().