WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
ParcelParams.h
1#ifndef _WINC_PARCELPARAMS
2#define _WINC_PARCELPARAMS
3
4#include <WXP/LclData.h>
5#include <WXP/UpaData.h>
6#include <WXP/UpaLevel.h>
7
8namespace WXP {
9 struct ParcelParams {
10 int par_type;
11 float par_thick;
12 UpaLevel par_lev;
13 float Satad;
14 LclData lcl;
15 UpaLevel lcl_lev;
16 float cap;
17 float lfc;
18 UpaLevel lfc_lev;
19 float el;
20 UpaLevel el_lev;
21 float mpl;
22 UpaLevel mpl_lev;
23 float Bel;
24 float Bmpl;
25 float Bplus;
26 float Bminus;
27 float li;
28 float wmax;
29 float max_t;
30 enum { SFC, LAYER, MAXT, USER };
31
33 int init();
34 int setType( int type );
35 int setType( float thick );
36 int setType( float p, float t, float td );
37 int setType( const char *str );
38 int set( UpaData &data );
39 int calc( UpaData &data , UpaLevel &plev );
40 int printParcel();
41 int print();
42
43 };
44}
45#endif
46
This class stores upper air data.
Definition UpaData.h:13
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct stores output of LCL calculation.
Definition LclData.h:5
This struct stores parcel parameters.
Definition ParcelParams.h:9
int init()
Definition ParcelParams.cc:35
int calc(UpaData &data, UpaLevel &plev)
Definition ParcelParams.cc:157
int set(UpaData &data)
Definition ParcelParams.cc:109
ParcelParams()
Definition ParcelParams.cc:28
This struct contains data for a specific upper air level.
Definition UpaLevel.h:5