From 99b39968501fa5cb6430b6c9aec3d8fbac44c0d2 Mon Sep 17 00:00:00 2001 From: Martijn Visser Date: Tue, 14 Nov 2023 14:49:20 +0100 Subject: [PATCH] remove trailing whitespace --- docs/src/user_guide/additional_options.md | 2 +- src/sbm.jl | 6 +++--- src/sediment.jl | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/src/user_guide/additional_options.md b/docs/src/user_guide/additional_options.md index 84a476a1f..7862a5f7c 100644 --- a/docs/src/user_guide/additional_options.md +++ b/docs/src/user_guide/additional_options.md @@ -223,7 +223,7 @@ Variables with a third dimension, for example `layer` as part of the vertical `S are exposed as two-dimensional grids through the Wflow BMI implementation. For these variables the index of this third dimension is required, by adding `[k]` to the variable name (`k` refers to the index of the third dimension). For example, the variable -`vertical.vwc[1]` refers to the first soil layer of the vertical `SBM` concept. +`vertical.vwc[1]` refers to the first soil layer of the vertical `SBM` concept. ### Couple to a groundwater model For the coupling of wflow\_sbm (SBM + kinematic wave) with a groundwater model (e.g. diff --git a/src/sbm.jl b/src/sbm.jl index bb5744a8e..a85254bf7 100644 --- a/src/sbm.jl +++ b/src/sbm.jl @@ -1,10 +1,10 @@ @get_units @exchange @grid_type @grid_location @with_kw struct SBM{T,N,M} # Model time step [s] - Δt::T | "s" | 0 | "none" | "none" + Δt::T | "s" | 0 | "none" | "none" # Maximum number of soil layers - maxlayers::Int | "-" | 0 | "none" | "none" + maxlayers::Int | "-" | 0 | "none" | "none" # number of cells - n::Int | "-" | 0 | "none" | "none" + n::Int | "-" | 0 | "none" | "none" # Number of soil layers nlayers::Vector{Int} | "-" # Number of unsaturated soil layers diff --git a/src/sediment.jl b/src/sediment.jl index ad4ebea83..783c4e987 100644 --- a/src/sediment.jl +++ b/src/sediment.jl @@ -1,7 +1,7 @@ ### Soil erosion ### @get_units @exchange @grid_type @grid_location @with_kw struct LandSediment{T} # number of cells - n::Int | "-" | 0 | "none" | "none" + n::Int | "-" | 0 | "none" | "none" ### Soil erosion part ### # length of cells in y direction [m] yl::Vector{T} | "m" @@ -595,7 +595,7 @@ end ### Sediment transport in overland flow ### @get_units @exchange @grid_type @grid_location @with_kw struct OverlandFlowSediment{T} # number of cells - n::Int | "-" | 0 | "none" | "none" + n::Int | "-" | 0 | "none" | "none" # Filter with river cells rivcell::Vector{T} | "-" # Total eroded soil [ton Δt⁻¹] @@ -685,7 +685,7 @@ end # number of cells n::Int | "-" | 0 | "none" | "none" # Timestep [s] - Δt::T | "s" | 0 | "none" | "none" + Δt::T | "s" | 0 | "none" | "none" # River geometry (slope [-], length [m], width [m]) sl::Vector{T} | "m" dl::Vector{T} | "m"