vic/drivers/shared_all/src/put_data.c
double
calc_energy_balance_error(double net_rad,
                          double latent,
                          double sensible,
                          double grnd_flux,
                          double snow_fluxes)
{
    double error;

    error = net_rad - latent - sensible - grnd_flux + snow_fluxes;

    return(error);
}
/******************************************************************************
 * @brief    This subroutine computes the overall model energy balance.
 *****************************************************************************/
@brief    This subroutine computes the overall model energy balance.
@brief This subroutine computes the overall model energy balance .
double
calc_energy_balance_error(double net_rad,
                          double latent,
                          double sensible,
                          double grnd_flux,
                          double snow_fluxes)
{
    double error;
    error = net_rad - latent - sensible - grnd_flux + snow_fluxes;
    return(error);
}
double calc_energy_balance_error ( double net_rad , double latent , double sensible , double grnd_flux , double snow_fluxes ) { double error ; error = net_rad - latent - sensible - grnd_flux + snow_fluxes ; return ( error ) ; }
@brief    This subroutine computes the overall model energy balance.
@brief This subroutine computes the overall model energy balance .