root_brent

Author:

Bart Nijssen

Date:

April 1996

Description:

Computes the snow pack surface temperature for which the sum of the energy balance is zero.

References

Brent, R. P., 1973, Algorithms for minimization without derivatives, Chapter 4. Prentice Hall, Inc., Englewood Cliffs, New Jersey.

Input Variables:

This function has a variable argument list. The following must be specified.

Variable

Type

Units

Description

LowerBounddoubledeg Clower bound for root, which is a function of snow.surf_temp
UpperBounddoubledeg Cupper bound for root, hard coded to zero
SnowPackEnergyBalancefunction *N/Asee function documentation for description, the arguments for this function are passed as the optional arguments

Output Variables:

Variable

Type

Units

Description

bdoubledeg Ceffective surface temperature

Subroutines Called:

SnowPackEnergyBalance

Modifications and Limitations

Although the documentation associates this function with the snow code, it is infact general purpose. Macro definitions are included in this routine to specify the maximum number of iterations and the precision.


VIC Home Page

VIC Code Page

Page Last Modified on 7/18/97