1 #ifndef SRC_AIR_PARCEL_HPP_
2 #define SRC_AIR_PARCEL_HPP_
10 #include <athena/athena.hpp>
13 #include <configure.hpp>
19 enum {
Size = NHYDRO + NCLOUD + NCHEMISTRY + NTRACER + NTURBULENCE };
23 friend std::ostream &
operator<<(std::ostream &os,
Type const &type);
130 for (
int i = il; i <= iu; ++i) {
143 for (
int i = il; i <= iu; ++i) {
156 for (
int i = il; i <= iu; ++i) {
167 for (
int i = il; i <= iu; ++i) {
std::vector< AirParcel > AirColumn
Real *const t
turbulence data
std::array< Real, Size > data_
void moleConcentrationToMassConcentration()
AirParcel & ToMassConcentration()
AirParcel & ToMoleFraction()
AirParcel(AirParcel const &other)
void massConcentrationToMoleFraction()
AirParcel & ToMoleConcentration()
void moleFractionToMoleConcentration()
AirParcel & operator=(const AirParcel &other)
void massFractionToMassConcentration()
AirParcel(Type type=Type::MoleFrac)
void massConcentrationToMoleConcentration()
void moleConcentrationToMassFraction()
friend std::ostream & operator<<(std::ostream &os, Type const &type)
void moleConcentrationToMoleFraction()
void massConcentrationToMassFraction()
AirParcel & ConvertTo(AirParcel::Type type)
AirParcel & ToMassFraction()
void massFractionToMoleFraction()
Real *const q
chemistry data
void moleFractionToMassFraction()
void moleFractionToMassConcentration()
Real const * d
particle data
void massFractionToMoleConcentration()
void distribute_to_conserved(MeshBlock *pmb, int k, int j, int i, AirParcel const &air_in)
void distribute_to_primitive(MeshBlock *pmb, int k, int j, int i, AirParcel const &air_in)
AirParcel gather_from_primitive(MeshBlock const *pmb, int k, int j, int i)
AirParcel gather_from_conserved(MeshBlock const *pmb, int k, int j, int i)