Topography

Initialization

EarthBox.SurfaceProcesses.Topography.initialize!Function
initialize!(model::ModelData; kwargs...)::Nothing

Initialize topography model parameters.

Arguments

  • model::ModelData
    • The model data container containing the model parameters and arrays.
  • node_advection::Union{Int, String, Symbol, Nothing}
    • Controls the type of topography node advection scheme. See the Node Advection Schemes section below for information on available node advection schemes. The node advection scheme is stored in the model data container as an integer ID (itype_topo) and a corresponding string name (stype_topo). If node_advection is nothing the current node advection scheme defined in the model data container will be used. The node advection scheme parameters can be accessed from the model data container as follows:
      • itype_topo = model.topography.parameters.model_options.itype_topo.value
      • stype_topo = model.topography.parameters.model_options.stype_topo.value

Keyword Arguments

  • iuse_topo::Int64
    • Integer flag used to enable topography model: 0 = off; 1 = on
  • nsmooth_top_bottom::Int64
    • Number of topography nodes that will be used to calculate a running average for the calculated y-coordinate of the top and bottom of marker layers
  • marker_search_factor::Float64
    • Search factor used to calculate the search radius for determining the shallowest and deepest markers associated with a given topography node
  • toponum::Int64
    • Number of nodes in the x-direction of the topography model
  • topo_xsize::Float64
    • Topography model size in horizontal direction in meters
  • dx_topo::Float64
    • Topography grid step size in meters
  • erosion_rate::Float64
    • Erosion rate above water level in m/s
  • sedimentation_rate::Float64
    • Sedimentation rate below water level in m/s

Node Advection Schemes


RungeKuttaWithInterp

  • node_advection value: "RungeKuttaWithInterp", :RungeKuttaWithInterp, or 0
  • Description: Topography nodes are advected using a 4th order Runge Kutta scheme and the elevation of the advected marker chain is interpolated to Eulerian topography grid points.

Antidiffusion

  • node_advection value: "Antidiffusion", :Antidiffusion, or 1
  • Description: Elevation is calculated at topography nodes using an antidiffusion scheme.
source