Difference between revisions of "Getdiff"

From SourceWiki
Jump to navigation Jump to search
Line 5: Line 5:
  
 
where standard symbols are defined in the [[definition]] page.  The diffusivity is scaled and is determined on a staggered grid that has points positioned halfway between adjacent thickness grid points. The function is called for each staggered grid point in turn; this means that it is the responsibility of the calling routine to deal with branching in the system.
 
where standard symbols are defined in the [[definition]] page.  The diffusivity is scaled and is determined on a staggered grid that has points positioned halfway between adjacent thickness grid points. The function is called for each staggered grid point in turn; this means that it is the responsibility of the calling routine to deal with branching in the system.
This function is called from calcthck, which is described in the section [[model structure]] and the returned information is held in array '''diffus'''.
+
This function is called from calcthck, which is described in the section [[model Structure]] and the returned information is held in array '''diffus'''.

Revision as of 18:02, 6 November 2007

function getdiff

This function returns the diffusivity of ice flow for a point along the glacier. This is determined from
[math]\displaystyle{ D^{'}= -\frac{2fA}{n+2} \left({\rho\,g}\right)^{n} \left({H^{'}}\right)^{n+2}\left|{\frac{\delta\,s^{'}}{\delta\,x^{'}}}\right|^{n-1} }[/math]

where standard symbols are defined in the definition page. The diffusivity is scaled and is determined on a staggered grid that has points positioned halfway between adjacent thickness grid points. The function is called for each staggered grid point in turn; this means that it is the responsibility of the calling routine to deal with branching in the system. This function is called from calcthck, which is described in the section model Structure and the returned information is held in array diffus.