src/simpleNbox.cpp
//------------------------------------------------------------------------------
/*! \brief      Compute global heterotrophic respiration
 *  \returns    Annual RH summed across all biomes
 */
\brief      Compute global heterotrophic respiration
\returns    Annual RH summed across all biomes
\ brief Compute global heterotrophic respiration \ returns Annual RH summed across all biomes
unitval SimpleNbox::sum_rh() const
{
    unitval total( 0.0, U_PGC_YR );
    for( unitval_stringmap::const_iterator it = veg_c.begin(); it != veg_c.end(); it++ ) {
        total = total + rh( it->first );
    }
    return total;
}
unitval SimpleNbox :: sum_rh ( ) const { unitval total ( 0.0 , U_PGC_YR ) ; for ( unitval_stringmap :: const_iterator it = veg_c . begin ( ) ; it != veg_c . end ( ) ; it ++ ) { total = total + rh ( it -> first ) ; } return total ; }
\brief      Compute global heterotrophic respiration
  \returns    Annual RH summed across all biomes
\ brief Compute global heterotrophic respiration \ returns Annual RH summed across all biomes