find_0_degree_fronts

Author:

Keith Cherkauer

Date:

September 2, 1997

Description:

This subroutine finds and sets the freezing and thawing fronts for the current time step. Routine searches node temperatures from the bottom looking first for the point where the tmperature goes from positive to negative, and then from negative to positve - or the surface, whichever come first.

References

Input Variables:

Variable

Type

Units

Description

depthdouble *mModel layer depths
Tdouble *CSoil profile node temperatures
NlayerintN/ANumber of layers
TlayerintN/ANumber of nodes

Output Variables:

Variable

Type

Units

Description

energyenergy_bal_struct *N/AEnergy data structure
  • double *dz (m)
  • double *fdepth (m)
layerlayer_data_struct *N/ALayer data structure
  • double fdepth (m)
  • double tdepth (m)

Subroutines Called:

Modifications and Limitations


VIC Home Page

VIC Code Page

Page Last Modified on 9/2/97