vic/drivers/shared_all/src/put_data.c
double
calc_water_balance_error(double inflow,
                         double outflow,
                         double storage,
                         double last_storage)
{
    double error;

    error = inflow - outflow - (storage - last_storage);

    return(error);
}
/******************************************************************************
 * @brief    This subroutine computes the overall model water balance, and
 *           warns the model user if large errors are found.
 *****************************************************************************/
@brief    This subroutine computes the overall model water balance, and
warns the model user if large errors are found.
@brief This subroutine computes the overall model water balance and warns the model user if large errors are found .
double
calc_water_balance_error(double inflow,
                         double outflow,
                         double storage,
                         double last_storage)
{
    double error;
    error = inflow - outflow - (storage - last_storage);
    return(error);
}
double calc_water_balance_error ( double inflow , double outflow , double storage , double last_storage ) { double error ; error = inflow - outflow - ( storage - last_storage ) ; return ( error ) ; }
@brief    This subroutine computes the overall model water balance, and
           warns the model user if large errors are found.
@brief This subroutine computes the overall model water balance and warns the model user if large errors are found .