11 for (
int i = 1; i <= NVAPOR; ++i) {
15 qfrac->
w[i] += rates[0];
18 for (
int n = 1; n < rates.size(); ++n)
25 auto& indx = info.first;
28 qfrac->
w[indx[0]] += rates[0];
29 qfrac->
w[indx[1]] += rates[1];
32 qfrac->
c[indx[2]] += rates[3];
RealArrayX TryEquilibriumTP_VaporCloud(AirParcel const &qfrac, int ivapor, Real cv_hat=0., bool misty=false) const
Calculate the equilibrium mole transfer by cloud reaction vapor -> cloud.
std::map< IndexPair, ReactionInfo > cloud_reaction_map_
reaction information map
std::vector< IndexSet > cloud_index_set_
cloud index set
void EquilibrateTP(AirParcel *qfrac) const
void setTotalEquivalentVapor(AirParcel *qfrac) const
RealArray3 TryEquilibriumTP_VaporVaporCloud(AirParcel const &air, IndexPair ij, Real cv_hat=0., bool misty=false) const
Calculate the equilibrium mole transfer by cloud reaction vapor1 + vapor2 -> cloud.