ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
MoistureComponentIndices Struct Reference

The moisture data carried by the active microphysics scheme. More...

#include <ERF_DataStruct.H>

Collaboration diagram for MoistureComponentIndices:

Classes

struct  CompList
 An ordered list of conserved-state components forming an aggregate moisture output variable (qt, qn, qp, moist_density). More...
 
struct  VarAvailability
 Whether this map decides a variable's availability, and if so whether the variable is available. More...
 

Public Member Functions

 MoistureComponentIndices (int qv_comp, int qc_comp, int qi_comp=absent, int qr_comp=absent, int qs_comp=absent, int qg_comp=absent, int nc_comp=absent, int ni_comp=absent, int nr_comp=absent, int ns_comp=absent, int ng_comp=absent, int nn_comp=absent)
 Construct the conserved-state component map. More...
 
 MoistureComponentIndices ()=default
 Construct an empty map, i.e. a dry run. More...
 
CompList total_water_comps () const
 Components summed for total water, "qt": every mass mixing ratio. More...
 
CompList nonprecipitating_comps () const
 Components summed for non-precipitating water, "qn": vapor plus the suspended condensate. Also the moist part of "moist_density". More...
 
CompList precipitating_comps () const
 Components summed for precipitating water, "qp": the falling species. More...
 
bool has_comp (int comp) const
 Test whether a conserved-state component holds one of the moisture variables this scheme carries. More...
 
bool has_reflectivity_species () const
 Test whether the active scheme carries rain, snow and graupel in the RhoQ4/RhoQ5/RhoQ6 slots assumed by erf_derreflectivity and erf_dermaxreflectivity. More...
 
bool has_moisture () const
 Test whether the active scheme carries any moisture at all. More...
 
int comp_for_var (const std::string &name) const
 The conserved-state component behind a single-species output name, or absent if the name is not a single species or the scheme does not carry it. More...
 
int qmoist_index_for_var (const std::string &name) const
 The qmoist slot behind a moist diagnostic output name. More...
 
VarAvailability query_var (const std::string &name) const
 Classify an output variable name against this index map. More...
 
bool has_derived_var (const std::string &name) const
 Test whether the moist species behind a derived/plot variable name is carried by the active scheme. More...
 

Static Public Member Functions

static MoistureComponentIndices from_moisture_model (const MoistureType moisture_type)
 Build the complete index map – conserved-state components and qmoist diagnostic slots – for a moisture model. More...
 

Public Attributes

int qv = absent
 water vapor More...
 
int qc = absent
 cloud liquid water More...
 
int qi = absent
 cloud ice More...
 
int qr = absent
 rain More...
 
int qs = absent
 snow More...
 
int qg = absent
 graupel More...
 
int nc = absent
 cloud liquid water number More...
 
int ni = absent
 cloud ice number More...
 
int nr = absent
 rain number More...
 
int ns = absent
 snow number More...
 
int ng = absent
 graupel number More...
 
int nn = absent
 CCN / total aerosol number. More...
 
int rain_accum = absent
 accumulated surface rain More...
 
int snow_accum = absent
 accumulated surface snow More...
 
int graupel_accum = absent
 accumulated surface graupel More...
 
int precip_accum = absent
 accumulated surface precipitation, all species More...
 
int rel_hum = absent
 relative humidity More...
 
int cond_rate = absent
 condensation rate More...
 

Static Public Attributes

static constexpr int absent = -1
 not carried by the active scheme More...
 
static constexpr int computed_from_state = -2
 

Detailed Description

The moisture data carried by the active microphysics scheme.

This struct is the single source of truth for the question "which moisture quantities does this run actually have?". Everything downstream of the microphysics – source terms, turbulence closures, and every output path (3D plotfiles, 2D plotfiles, subvolumes) – answers that question by querying this struct instead of enumerating MoistureType values, so a newly added scheme only has to declare its layout once, in from_moisture_model() below.

Two kinds of index live here:

  1. Conserved-state components (qv ... nn). Absolute component indices into the conserved state array, i.e. one of RhoQ1_comp ... RhoQ11_comp. They name the rho-weighted species: state(i,j,k,qv) is rho*qv, so an output path must divide by Rho_comp to recover the mixing ratio.
  2. qmoist diagnostic slots (rain_accum ... cond_rate). Indices into the per-level qmoist vector that is filled from Microphysics::Get_Qmoist_Ptr(lev,idx). Each scheme chooses that layout independently, so the slot numbers differ between schemes and are recorded per scheme below.

In both cases the value is absent when the active scheme does not carry the quantity, so index >= 0 is the criterion for "this exists and is meaningful to write". That is deliberately not the same test as "the storage is allocated": several schemes allocate a wider state than they integrate (the Morrison class always allocates eleven moist components, so Morrison_NoIce owns ice slots it never fills), and writing those slots to a plotfile would publish untouched memory as if it were data.

Constructor & Destructor Documentation

◆ MoistureComponentIndices() [1/2]

MoistureComponentIndices::MoistureComponentIndices ( int  qv_comp,
int  qc_comp,
int  qi_comp = absent,
int  qr_comp = absent,
int  qs_comp = absent,
int  qg_comp = absent,
int  nc_comp = absent,
int  ni_comp = absent,
int  nr_comp = absent,
int  ns_comp = absent,
int  ng_comp = absent,
int  nn_comp = absent 
)
inline

Construct the conserved-state component map.

Prefer from_moisture_model() for production code: it fills in the qmoist diagnostic slots as well. This constructor exists for the callers – unit tests and kernels exercised in isolation – that only need the state map.

Parameters
qv_compWater vapor component index.
qc_compCloud liquid water component index.
qi_compCloud ice component index.
qr_compRain component index.
qs_compSnow component index.
qg_compGraupel component index.
nc_compCloud liquid water number concentration component index.
ni_compCloud ice number concentration component index.
nr_compRain number concentration component index.
ns_compSnow number concentration component index.
ng_compGraupel number concentration component index.
nn_compCCN / total aerosol number concentration component index.
362  : qv(qv_comp), qc(qc_comp), qi(qi_comp), qr(qr_comp), qs(qs_comp), qg(qg_comp),
363  nc(nc_comp), ni(ni_comp), nr(nr_comp), ns(ns_comp), ng(ng_comp),
364  nn(nn_comp) {}
int nc
cloud liquid water number
Definition: ERF_DataStruct.H:300
int qs
snow
Definition: ERF_DataStruct.H:294
int nn
CCN / total aerosol number.
Definition: ERF_DataStruct.H:310
int qr
rain
Definition: ERF_DataStruct.H:293
int qi
cloud ice
Definition: ERF_DataStruct.H:292
int ni
cloud ice number
Definition: ERF_DataStruct.H:301
int qv
water vapor
Definition: ERF_DataStruct.H:290
int nr
rain number
Definition: ERF_DataStruct.H:302
int qc
cloud liquid water
Definition: ERF_DataStruct.H:291
int ng
graupel number
Definition: ERF_DataStruct.H:304
int qg
graupel
Definition: ERF_DataStruct.H:295
int ns
snow number
Definition: ERF_DataStruct.H:303

◆ MoistureComponentIndices() [2/2]

MoistureComponentIndices::MoistureComponentIndices ( )
default

Construct an empty map, i.e. a dry run.

Member Function Documentation

◆ comp_for_var()

int MoistureComponentIndices::comp_for_var ( const std::string &  name) const
inline

The conserved-state component behind a single-species output name, or absent if the name is not a single species or the scheme does not carry it.

An output path can use this to copy a species without repeating the name-to-component mapping.

Parameters
nameDerived or plot variable name.
632  {
633  if (name == "qv") { return qv; }
634  if (name == "qc") { return qc; }
635  if (name == "qi") { return qi; }
636  if (name == "qrain") { return qr; }
637  if (name == "qsnow") { return qs; }
638  if (name == "qgraup") { return qg; }
639  if (name == "nc") { return nc; }
640  if (name == "ni") { return ni; }
641  if (name == "nr") { return nr; }
642  if (name == "ns") { return ns; }
643  if (name == "ng") { return ng; }
644  if (name == "nn") { return nn; }
645  return absent;
646  }
std::string name
Definition: ERF_Plotfile2DCatalog.cpp:139
static constexpr int absent
not carried by the active scheme
Definition: ERF_DataStruct.H:282

Referenced by ERF::FillPlot3DVars(), and query_var().

Here is the caller graph for this function:

◆ from_moisture_model()

static MoistureComponentIndices MoistureComponentIndices::from_moisture_model ( const MoistureType  moisture_type)
inlinestatic

Build the complete index map – conserved-state components and qmoist diagnostic slots – for a moisture model.

This is the one place a scheme declares what it carries. The conserved layout must match the component the scheme reads and writes in its Copy_State_to_Micro / Copy_Micro_to_State pair, and the qmoist slots must match the order the scheme installs in its MicVarMap. A slot that a scheme allocates but never fills is left absent on purpose: see the class comment for why allocation is not the criterion here.

Parameters
moisture_typeActive moisture/microphysics model.
386  {
388 
389  switch (moisture_type) {
390 
391  case MoistureType::None:
392  // Dry: no moisture data of any kind.
393  break;
394 
395  case MoistureType::MoistNoCondensation:
396  case MoistureType::SAM_NoPrecip_NoIce:
397  case MoistureType::Kessler_NoRain:
398  // Vapor plus suspended cloud water, no precipitation and no
399  // accumulation diagnostics.
400  mi.qv = RhoQ1_comp;
401  mi.qc = RhoQ2_comp;
402  break;
403 
404  case MoistureType::SatAdj:
405  // As above, but relative humidity is recovered from the state at
406  // output time rather than stored: SatAdj publishes no qmoist arrays.
407  mi.qv = RhoQ1_comp;
408  mi.qc = RhoQ2_comp;
410  break;
411 
412  case MoistureType::Kessler:
413  // Warm rain in three moist components; qmoist is {rain_accum}.
414  // Rain is the only species that falls, so the precipitation total
415  // is the rain accumulation itself.
416  mi.qv = RhoQ1_comp;
417  mi.qc = RhoQ2_comp;
418  mi.qr = RhoQ3_comp;
419  mi.rain_accum = 0;
420  mi.precip_accum = 0;
421  break;
422 
423  case MoistureType::SBM:
424  // SBM stores the distribution in an auxiliary state. These two
425  // compact liquid lanes are projections for host compatibility.
426  mi.qv = RhoQ1_comp;
427  mi.qc = RhoQ2_comp;
428  mi.qr = RhoQ3_comp;
429  break;
430 
431  case MoistureType::SAM_NoIce:
432  // The SAM class always allocates six moist components, so rain sits
433  // in the fourth slot even with the ice species switched off.
434  mi.qv = RhoQ1_comp;
435  mi.qc = RhoQ2_comp;
436  mi.qr = RhoQ4_comp;
437  mi.rain_accum = 0;
438  mi.precip_accum = 3;
439  break;
440 
441  case MoistureType::SAM:
442  case MoistureType::WSM6:
443  // Single-moment mixed phase; qmoist is
444  // {rain_accum, snow_accum, graupel_accum, precip_accum}.
445  mi.qv = RhoQ1_comp;
446  mi.qc = RhoQ2_comp;
447  mi.qi = RhoQ3_comp;
448  mi.qr = RhoQ4_comp;
449  mi.qs = RhoQ5_comp;
450  mi.qg = RhoQ6_comp;
451  mi.rain_accum = 0;
452  mi.snow_accum = 1;
453  mi.graupel_accum = 2;
454  mi.precip_accum = 3;
455  break;
456 
457  case MoistureType::Morrison:
458  // Two-moment mixed phase: six mass species followed by five number
459  // concentrations.
460  mi.qv = RhoQ1_comp;
461  mi.qc = RhoQ2_comp;
462  mi.qi = RhoQ3_comp;
463  mi.qr = RhoQ4_comp;
464  mi.qs = RhoQ5_comp;
465  mi.qg = RhoQ6_comp;
466  mi.nc = RhoQ7_comp;
467  mi.ni = RhoQ8_comp;
468  mi.nr = RhoQ9_comp;
469  mi.ns = RhoQ10_comp;
470  mi.ng = RhoQ11_comp;
471  mi.rain_accum = 0;
472  mi.snow_accum = 1;
473  mi.graupel_accum = 2;
474  mi.precip_accum = 3;
475  break;
476 
477  case MoistureType::Morrison_NoIce:
478  // Liquid-only Morrison: the class still allocates all eleven moist
479  // components, but only vapor, cloud water and rain -- and the cloud
480  // and rain numbers -- are integrated, so the frozen species and
481  // their numbers stay absent here.
482  mi.qv = RhoQ1_comp;
483  mi.qc = RhoQ2_comp;
484  mi.qr = RhoQ4_comp;
485  mi.nc = RhoQ7_comp;
486  mi.nr = RhoQ9_comp;
487  mi.rain_accum = 0;
488  mi.precip_accum = 3;
489  break;
490 
491  case MoistureType::WDM6:
492  // Double-moment warm phase on top of single-moment ice: nn is the
493  // aerosol reservoir and takes the slot Morrison uses for ice number,
494  // and there are no snow or graupel numbers.
495  mi.qv = RhoQ1_comp;
496  mi.qc = RhoQ2_comp;
497  mi.qi = RhoQ3_comp;
498  mi.qr = RhoQ4_comp;
499  mi.qs = RhoQ5_comp;
500  mi.qg = RhoQ6_comp;
501  mi.nc = RhoQ7_comp;
502  mi.nn = RhoQ8_comp;
503  mi.nr = RhoQ9_comp;
504  mi.rain_accum = 0;
505  mi.snow_accum = 1;
506  mi.graupel_accum = 2;
507  mi.precip_accum = 3;
508  break;
509 
510  case MoistureType::SuperDroplets:
511  // Lagrangian microphysics that still carries the six Eulerian mass
512  // species. Its qmoist layout is its own (see the MicVarMap in
513  // SuperDropletsMoist::Init): the graupel accumulation slot exists
514  // but is never filled, so it stays absent.
515  mi.qv = RhoQ1_comp;
516  mi.qc = RhoQ2_comp;
517  mi.qi = RhoQ3_comp;
518  mi.qr = RhoQ4_comp;
519  mi.qs = RhoQ5_comp;
520  mi.qg = RhoQ6_comp;
521  mi.cond_rate = 3;
522  mi.rel_hum = 7;
523  mi.rain_accum = 8;
524  mi.snow_accum = 10;
525  mi.precip_accum = 11;
526  break;
527 
528  default:
529  amrex::Abort("Unknown MoistureType in MoistureComponentIndices::from_moisture_model");
530  }
531 
532  return mi;
533  }
#define RhoQ4_comp
Definition: ERF_IndexDefines.H:81
#define RhoQ2_comp
Definition: ERF_IndexDefines.H:79
#define RhoQ3_comp
Definition: ERF_IndexDefines.H:80
#define RhoQ11_comp
Definition: ERF_IndexDefines.H:88
#define RhoQ9_comp
Definition: ERF_IndexDefines.H:86
#define RhoQ1_comp
Definition: ERF_IndexDefines.H:78
#define RhoQ6_comp
Definition: ERF_IndexDefines.H:83
#define RhoQ8_comp
Definition: ERF_IndexDefines.H:85
#define RhoQ5_comp
Definition: ERF_IndexDefines.H:82
#define RhoQ7_comp
Definition: ERF_IndexDefines.H:84
#define RhoQ10_comp
Definition: ERF_IndexDefines.H:87
@ None
Definition: ERF_LSM_Types.H:6
The moisture data carried by the active microphysics scheme.
Definition: ERF_DataStruct.H:279
int cond_rate
condensation rate
Definition: ERF_DataStruct.H:329
int precip_accum
accumulated surface precipitation, all species
Definition: ERF_DataStruct.H:327
int rel_hum
relative humidity
Definition: ERF_DataStruct.H:328
int graupel_accum
accumulated surface graupel
Definition: ERF_DataStruct.H:326
static constexpr int computed_from_state
Definition: ERF_DataStruct.H:283
int rain_accum
accumulated surface rain
Definition: ERF_DataStruct.H:324
int snow_accum
accumulated surface snow
Definition: ERF_DataStruct.H:325

Referenced by SolverChoice::init_params().

Here is the caller graph for this function:

◆ has_comp()

bool MoistureComponentIndices::has_comp ( int  comp) const
inline

Test whether a conserved-state component holds one of the moisture variables this scheme carries.

Use this rather than enumerating moisture models when deciding whether a "rhoQn" state component is meaningful for the active scheme.

Parameters
compAbsolute component index into the conserved state array.
594  {
595  return ( (comp >= 0) &&
596  ( (comp == qv) || (comp == qc) || (comp == qi) ||
597  (comp == qr) || (comp == qs) || (comp == qg) ||
598  (comp == nc) || (comp == ni) || (comp == nr) ||
599  (comp == ns) || (comp == ng) || (comp == nn) ) );
600  }

Referenced by erf_plotfile::plot3d_fixed_variable_available().

Here is the caller graph for this function:

◆ has_derived_var()

bool MoistureComponentIndices::has_derived_var ( const std::string &  name) const
inline

Test whether the moist species behind a derived/plot variable name is carried by the active scheme.

Names this map does not govern return true, so this can be used directly as a filter over a mixed list of variable names. Use query_var() instead when the caller needs to distinguish "not a moisture variable" from "available".

Parameters
nameDerived or plot variable name.
733  {
734  const VarAvailability status = query_var(name);
735  return (!status.governed) || status.available;
736  }
VarAvailability query_var(const std::string &name) const
Classify an output variable name against this index map.
Definition: ERF_DataStruct.H:687

Referenced by ERF::setSubVolVariables().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ has_moisture()

bool MoistureComponentIndices::has_moisture ( ) const
inline

Test whether the active scheme carries any moisture at all.

Every moist scheme allocates water vapor, so this is equivalent to testing moisture_type != MoistureType::None without needing the enum.

620 { return (qv >= 0); }

Referenced by ERF::FillPlot3DVars(), query_var(), ERF::setSubVolVariables(), and ERF::WriteSubvolume().

Here is the caller graph for this function:

◆ has_reflectivity_species()

bool MoistureComponentIndices::has_reflectivity_species ( ) const
inline

Test whether the active scheme carries rain, snow and graupel in the RhoQ4/RhoQ5/RhoQ6 slots assumed by erf_derreflectivity and erf_dermaxreflectivity.

Those kernels read the precipitating species by hardcoded component, so this checks the layout and not just the presence of the species.

610  {
611  return ( (qr == RhoQ4_comp) && (qs == RhoQ5_comp) && (qg == RhoQ6_comp) );
612  }

◆ nonprecipitating_comps()

CompList MoistureComponentIndices::nonprecipitating_comps ( ) const
inline

Components summed for non-precipitating water, "qn": vapor plus the suspended condensate. Also the moist part of "moist_density".

570  {
571  CompList list;
572  list.append(qv); list.append(qc); list.append(qi);
573  return list;
574  }

Referenced by ERF::FillPlot3DVars().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ precipitating_comps()

CompList MoistureComponentIndices::precipitating_comps ( ) const
inline

Components summed for precipitating water, "qp": the falling species.

579  {
580  CompList list;
581  list.append(qr); list.append(qs); list.append(qg);
582  return list;
583  }

Referenced by ERF::FillPlot3DVars(), and query_var().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ qmoist_index_for_var()

int MoistureComponentIndices::qmoist_index_for_var ( const std::string &  name) const
inline

The qmoist slot behind a moist diagnostic output name.

Returns absent when the scheme does not provide the diagnostic, and computed_from_state when it does provide it but not through a qmoist array – in that case the caller must derive it from the conserved state.

Parameters
nameDerived or plot variable name.
657  {
658  if (name == "rain_accum") { return rain_accum; }
659  if (name == "snow_accum") { return snow_accum; }
660  if (name == "graupel_accum") { return graupel_accum; }
661  if (name == "precip_accum") { return precip_accum; }
662  if (name == "rel_humidity") { return rel_hum; }
663  if (name == "condensation_rate") { return cond_rate; }
664  return absent;
665  }

Referenced by ERF::FillPlot3DVars(), and query_var().

Here is the caller graph for this function:

◆ query_var()

VarAvailability MoistureComponentIndices::query_var ( const std::string &  name) const
inline

Classify an output variable name against this index map.

This is the one table pairing output names with the data behind them. It is driven off the scheme's index map rather than an enumerated list of moisture models, so it stays correct as schemes are added. Names with no moisture dependence come back not-governed, which lets a caller walk a mixed list of variable names and only defer to this map where it applies.

Parameters
nameDerived or plot variable name.
687  {
688 
689  // Single species, taken straight from the conserved state
690  if ( (name == "qv") || (name == "qc") || (name == "qi") ||
691  (name == "qrain") || (name == "qsnow") || (name == "qgraup") ||
692  (name == "nc") || (name == "ni") || (name == "nr") ||
693  (name == "ns") || (name == "ng") || (name == "nn") ) {
694  return {true, comp_for_var(name) >= 0};
695  }
696 
697  // Moist diagnostics, either from a qmoist array or derived at output time
698  if ( (name == "rain_accum") || (name == "snow_accum") ||
699  (name == "graupel_accum") || (name == "precip_accum") ||
700  (name == "rel_humidity") ||
701  (name == "condensation_rate") ) {
702  return {true, qmoist_index_for_var(name) != absent};
703  }
704 
705  // Aggregates over several species
706  if (name == "qt") { return {true, !total_water_comps().empty()}; }
707  if (name == "qp") { return {true, !precipitating_comps().empty()}; }
708 
709  // Non-precipitating water is vapor plus the suspended condensate, and
710  // moist density adds that same sum to the dry density
711  if ( (name == "qn") || (name == "moist_density") ) {
712  return {true, (qv >= 0) && (qc >= 0)};
713  }
714 
715  // Column and thermodynamic diagnostics that read vapor only
716  if ( (name == "qsat") || (name == "precipitable") ) {
717  return {true, has_moisture()};
718  }
719 
720  return {false, false};
721  }
bool empty() const
Definition: ERF_DataStruct.H:551
int comp_for_var(const std::string &name) const
The conserved-state component behind a single-species output name, or absent if the name is not a sin...
Definition: ERF_DataStruct.H:632
CompList total_water_comps() const
Components summed for total water, "qt": every mass mixing ratio.
Definition: ERF_DataStruct.H:559
CompList precipitating_comps() const
Components summed for precipitating water, "qp": the falling species.
Definition: ERF_DataStruct.H:579
bool has_moisture() const
Test whether the active scheme carries any moisture at all.
Definition: ERF_DataStruct.H:620
int qmoist_index_for_var(const std::string &name) const
The qmoist slot behind a moist diagnostic output name.
Definition: ERF_DataStruct.H:657

Referenced by has_derived_var(), and erf_plotfile::plot3d_fixed_variable_available().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ total_water_comps()

CompList MoistureComponentIndices::total_water_comps ( ) const
inline

Components summed for total water, "qt": every mass mixing ratio.

Number concentrations are excluded – they are counts, not masses.

559  {
560  CompList list;
561  list.append(qv); list.append(qc); list.append(qi);
562  list.append(qr); list.append(qs); list.append(qg);
563  return list;
564  }

Referenced by ERF::FillPlot3DVars(), and query_var().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ absent

constexpr int MoistureComponentIndices::absent = -1
staticconstexpr

◆ computed_from_state

constexpr int MoistureComponentIndices::computed_from_state = -2
staticconstexpr

carried, but derived at output time from the conserved state rather than read from a qmoist slot

Referenced by ERF::FillPlot3DVars(), and from_moisture_model().

◆ cond_rate

int MoistureComponentIndices::cond_rate = absent

condensation rate

Referenced by from_moisture_model(), and qmoist_index_for_var().

◆ graupel_accum

int MoistureComponentIndices::graupel_accum = absent

◆ nc

int MoistureComponentIndices::nc = absent

cloud liquid water number

Referenced by comp_for_var(), from_moisture_model(), and has_comp().

◆ ng

int MoistureComponentIndices::ng = absent

graupel number

Referenced by comp_for_var(), from_moisture_model(), and has_comp().

◆ ni

int MoistureComponentIndices::ni = absent

cloud ice number

Referenced by comp_for_var(), from_moisture_model(), and has_comp().

◆ nn

int MoistureComponentIndices::nn = absent

CCN / total aerosol number.

Referenced by comp_for_var(), from_moisture_model(), and has_comp().

◆ nr

int MoistureComponentIndices::nr = absent

rain number

Referenced by comp_for_var(), from_moisture_model(), and has_comp().

◆ ns

int MoistureComponentIndices::ns = absent

snow number

Referenced by comp_for_var(), from_moisture_model(), and has_comp().

◆ precip_accum

int MoistureComponentIndices::precip_accum = absent

accumulated surface precipitation, all species

Referenced by ERF::convert_legacy_precip_accumulations(), from_moisture_model(), and qmoist_index_for_var().

◆ qc

◆ qg

◆ qi

◆ qr

◆ qs

◆ qv

◆ rain_accum

int MoistureComponentIndices::rain_accum = absent

◆ rel_hum

int MoistureComponentIndices::rel_hum = absent

relative humidity

Referenced by ERF::FillPlot3DVars(), from_moisture_model(), and qmoist_index_for_var().

◆ snow_accum

int MoistureComponentIndices::snow_accum = absent

The documentation for this struct was generated from the following file: