From ea4926855b5e6b95e68b0e68aaa874c91af312b3 Mon Sep 17 00:00:00 2001 From: Jago Strong-Wright Date: Wed, 30 Aug 2023 12:48:09 +0200 Subject: [PATCH] Update model_implementation.md --- docs/src/model_implementation.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/src/model_implementation.md b/docs/src/model_implementation.md index 47c588d58..a46d0a390 100644 --- a/docs/src/model_implementation.md +++ b/docs/src/model_implementation.md @@ -243,9 +243,9 @@ grid = RectilinearGrid(topology = (Flat, Flat, Bounded), size = (32, ), extent = # setup the biogeochemical model -light_attenuation_model = TwoBandPhotosyntheticallyActiveRadiation(; grid, surface_PAR) +light_attenuation = TwoBandPhotosyntheticallyActiveRadiation(; grid, surface_PAR) -sediment_model = InstantRemineralisation(; grid) +sediment = InstantRemineralisation(; grid) sinking_velocity = ZFaceField(grid) @@ -253,7 +253,9 @@ w_sink(x, y, z) = 2 / day * tanh(z / 5) set!(sinking_velocity, w_sink) -biogeochemistry = NutrientPhytoplankton(; light_attenuation_model, sinking_velocity, sediment_model) +biogeochemistry = Biogeochemistry(NutrientPhytoplankton(; light_attenuation_model, sinking_velocity); + light_attenuation, + sediment) # put the model together