LinearDiffusion
- class fastscape.processes.LinearDiffusion(*, diffusivity, shape, elevation, fs_context)
Hillslope erosion by diffusion.
- diffusivity
Diffusivity (transport coefficient)
Variable properties:
type :
variable
intent :
in
dimensions : () or (‘y’, ‘x’)
- Type:
attr.Attribute
- erosion
No description given
Variable properties:
type :
variable
intent :
out
dimensions : (‘y’, ‘x’)
groups : erosion
- Type:
attr.Attribute
- shape
Nb. of grid nodes in (y, x)
Variable properties:
type :
foreign
reference variable :
UniformRectilinearGrid2D.shape
intent :
in
dimensions : (‘shape_yx’,)
- Type:
attr.Attribute
- elevation
Surface elevation before erosion
Variable properties:
type :
foreign
reference variable :
SurfaceToErode.elevation
intent :
in
dimensions : (‘y’, ‘x’)
- Type:
attr.Attribute
- fs_context
Accessor to fastscapelib-fortran internal variables
Variable properties:
type :
foreign
reference variable :
FastscapelibContext.context
intent :
in
- Type:
attr.Attribute
Methods
__init__
(*, diffusivity, shape, elevation, ...)Method generated by attrs for class LinearDiffusion.
run_step
()
Output of process info:
In [1]: import xsimlab as xs
In [2]: from fastscape.processes import LinearDiffusion
In [3]: xs.process_info(LinearDiffusion)
<LinearDiffusion (xsimlab process)>
Variables:
diffusivity [in] () or ('y', 'x') diffusivity (transport co...
erosion [out] ('y', 'x')
shape [in] <--- UniformRectilinearGrid2D.shape
elevation [in] <--- SurfaceToErode.elevation
fs_context [in] <--- FastscapelibContext.context
Simulation stages:
run_step