src/simpleNbox.cpp
//------------------------------------------------------------------------------
/*! \brief      Compute annual net primary production
 *  \returns    current annual NPP
 */
\brief      Compute annual net primary production
\returns    current annual NPP
\ brief Compute annual net primary production \ returns current annual NPP
unitval SimpleNbox::npp( std::string biome ) const
{
    unitval npp = npp_flux0.at( biome );    
    npp = npp * co2fert.at( biome );        
    return npp;
}
unitval SimpleNbox :: npp ( std :: string biome ) const { unitval npp = npp_flux0 . at ( biome ) ; npp = npp * co2fert . at ( biome ) ; return npp ; }
\brief      Compute annual net primary production
  \returns    current annual NPP
\ brief Compute annual net primary production \ returns current annual NPP
// 'at' throws exception if not found // that's why used here instead of [] //    npp = npp * tempfert.at( biome );