-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
think I've fixed particles and sediment together
- Loading branch information
Showing
5 changed files
with
11 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
using OceanBioME.Particles: BiogeochemicalParticles | ||
using OceanBioME.Boundaries.Sediments: AbstractSediment | ||
using OceanBioME.Boundaries.Sediments: update_sediment_tendencies! | ||
using OceanBioME.Particles: update_particles_tendencies! | ||
|
||
import Oceananigans.Biogeochemistry: update_tendencies! | ||
|
||
include("AdvectedPopulations/LOBSTER/LOBSTER.jl") | ||
include("AdvectedPopulations/NPZD.jl") | ||
include("Individuals/SLatissima.jl") | ||
|
||
@inline function update_tendencies!(bgc::ContinuousFormBiogeochemistry{<:Any, <:AbstractSediment, <:BiogeochemicalParticles}, model) | ||
update_tendencies!(bgc, bgc.sediment_model, model) | ||
update_tendencies!(bgc, bgc.particles, model) | ||
@inline function update_tendencies!(bgc::ContinuousFormBiogeochemistry, model) | ||
update_sediment_tendencies!(bgc, bgc.sediment_model, model) | ||
update_particles_tendencies!(bgc, bgc.particles, model) | ||
return nothing | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters