src/oceanbox.cpp
//------------------------------------------------------------------------------
/*! \brief sets the amount of carbon in this box
 */
\brief sets the amount of carbon in this box
\ brief sets the amount of carbon in this box
void oceanbox::set_carbon( const unitval C) {
	carbon = C;
	OB_LOG( logger, Logger::WARNING ) << Name << " box C has been set to " << carbon << endl;
	carbonHistory.insert( carbonHistory.begin(), C.value( U_PGC ) );
}
void oceanbox :: set_carbon ( const unitval C ) { carbon = C ; OB_LOG ( logger , Logger :: WARNING ) << Name << " " << carbon << endl ; carbonHistory . insert ( carbonHistory . begin ( ) , C . value ( U_PGC ) ) ; }
\brief sets the amount of carbon in this box
\ brief sets the amount of carbon in this box