Canoe
Comprehensive Atmosphere N' Ocean Engine
|
#include <air_parcel.hpp>
Public Types | |
enum | { Size = NHYDRO + NCLOUD + NCHEMISTRY + NTRACER + NTURBULENCE } |
enum class | Type { MassFrac = 0 , MassConc = 1 , MoleFrac = 2 , MoleConc = 3 } |
Public Member Functions | |
AirParcel (Type type=Type::MoleFrac) | |
AirParcel (AirParcel const &other) | |
AirParcel & | operator= (const AirParcel &other) |
void | SetType (Type type) |
Type | GetType () const |
void | SetZero () |
AirParcel & | ConvertTo (AirParcel::Type type) |
AirParcel & | ToMassFraction () |
AirParcel & | ToMassConcentration () |
AirParcel & | ToMoleFraction () |
AirParcel & | ToMoleConcentration () |
Public Attributes | |
Real *const | w |
Real *const | c |
cloud data More... | |
Real *const | q |
chemistry data More... | |
Real *const | x |
tracer data More... | |
Real *const | t |
turbulence data More... | |
Real const * | d |
particle data More... | |
Protected Member Functions | |
void | massFractionToMassConcentration () |
void | massConcentrationToMassFraction () |
void | massFractionToMoleFraction () |
void | moleFractionToMassFraction () |
void | massConcentrationToMoleFraction () |
void | moleFractionToMassConcentration () |
void | moleFractionToMoleConcentration () |
void | moleConcentrationToMoleFraction () |
void | massConcentrationToMoleConcentration () |
void | moleConcentrationToMassConcentration () |
void | massFractionToMoleConcentration () |
void | moleConcentrationToMassFraction () |
Protected Attributes | |
std::array< Real, Size > | data_ |
Type | mytype_ |
Friends | |
std::ostream & | operator<< (std::ostream &os, Type const &type) |
std::ostream & | operator<< (std::ostream &os, AirParcel const &var) |
Definition at line 17 of file air_parcel.hpp.
anonymous enum |
Enumerator | |
---|---|
Size |
Definition at line 19 of file air_parcel.hpp.
|
strong |
Enumerator | |
---|---|
MassFrac | |
MassConc | |
MoleFrac | |
MoleConc |
Definition at line 21 of file air_parcel.hpp.
|
inlineexplicit |
Definition at line 54 of file air_parcel.hpp.
|
inline |
Definition at line 66 of file air_parcel.hpp.
Definition at line 77 of file air_parcel.hpp.
|
inline |
Definition at line 88 of file air_parcel.hpp.
|
inline |
Definition at line 90 of file air_parcel.hpp.
|
inline |
Definition at line 92 of file air_parcel.hpp.
AirParcel & AirParcel::ConvertTo | ( | AirParcel::Type | type | ) |
Definition at line 48 of file air_parcel.cpp.
AirParcel & AirParcel::ToMassFraction | ( | ) |
Definition at line 68 of file air_parcel.cpp.
AirParcel & AirParcel::ToMassConcentration | ( | ) |
Definition at line 86 of file air_parcel.cpp.
AirParcel & AirParcel::ToMoleFraction | ( | ) |
Definition at line 104 of file air_parcel.cpp.
AirParcel & AirParcel::ToMoleConcentration | ( | ) |
Definition at line 122 of file air_parcel.cpp.
|
protected |
Definition at line 298 of file air_parcel.cpp.
|
protected |
Definition at line 343 of file air_parcel.cpp.
|
protected |
Definition at line 140 of file air_parcel.cpp.
|
protected |
Definition at line 173 of file air_parcel.cpp.
|
protected |
Definition at line 206 of file air_parcel.cpp.
|
protected |
Definition at line 252 of file air_parcel.cpp.
|
protected |
Definition at line 392 of file air_parcel.cpp.
|
protected |
Definition at line 441 of file air_parcel.cpp.
|
protected |
Definition at line 497 of file air_parcel.cpp.
|
protected |
Definition at line 501 of file air_parcel.cpp.
|
protected |
Definition at line 489 of file air_parcel.cpp.
|
protected |
Definition at line 493 of file air_parcel.cpp.
|
friend |
Definition at line 26 of file air_parcel.cpp.
|
friend |
Definition at line 42 of file air_parcel.cpp.
|
protected |
Definition at line 28 of file air_parcel.hpp.
|
protected |
Definition at line 31 of file air_parcel.hpp.
Real* const AirParcel::w |
data pointers hydro data
Definition at line 36 of file air_parcel.hpp.
Real* const AirParcel::c |
cloud data
Definition at line 39 of file air_parcel.hpp.
Real* const AirParcel::q |
chemistry data
Definition at line 42 of file air_parcel.hpp.
Real* const AirParcel::x |
tracer data
Definition at line 45 of file air_parcel.hpp.
Real* const AirParcel::t |
turbulence data
Definition at line 48 of file air_parcel.hpp.
Real const* AirParcel::d |
particle data
Definition at line 51 of file air_parcel.hpp.