src/oceanbox.cpp
//------------------------------------------------------------------------------
/*! \brief          Add carbon to an oceanbox
 *  \param[in] C    amount of carbon to add to this box
 *
 *  Carbon flows between boxes arrive via this method. Any carbon (it must be
 *  a positive value) is scheduled for addition; the actual increment happens
 *  in update_state().
 */
\brief          Add carbon to an oceanbox
\param[in] C    amount of carbon to add to this box

Carbon flows between boxes arrive via this method. Any carbon (it must be
a positive value) is scheduled for addition; the actual increment happens
in update_state().
\ brief Add carbon to an oceanbox \ param [ in ] C amount of carbon to add to this box Carbon flows between boxes arrive via this method . Any carbon ( it must be a positive value ) is scheduled for addition ; the actual increment happens in update_state () .
void oceanbox::add_carbon( unitval C ) {
	H_ASSERT( C.value( U_PGC ) >= 0.0, "add_carbon called with negative value" );
	CarbonToAdd = CarbonToAdd + C;
	OB_LOG( logger, Logger::DEBUG) << Name << " receiving " << C << " (" << CarbonToAdd << ")" << endl;
}
void oceanbox :: add_carbon ( unitval C ) { H_ASSERT ( C . value ( U_PGC ) >= 0.0 , " " ) ; CarbonToAdd = CarbonToAdd + C ; OB_LOG ( logger , Logger :: DEBUG ) << Name << " " << C << " " << CarbonToAdd << " " << endl ; }
\brief          Add carbon to an oceanbox
  \param[in] C    amount of carbon to add to this box
\ brief Add carbon to an oceanbox \ param [ in ] C amount of carbon to add to this box