-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add WOMBATlite generic tracer module
zero det_sediment and caco3_sediment tracers below k=1
- Loading branch information
1 parent
857fcda
commit a5e8780
Showing
2 changed files
with
16 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/MOM6/src/tracer/MOM_generic_tracer.F90 b/MOM6/src/tracer/MOM_generic_tracer.F90.new | ||
index 131110e..7334a56 100644 | ||
--- a/MOM6/src/tracer/MOM_generic_tracer.F90 | ||
+++ b/MOM6/src/tracer/MOM_generic_tracer.F90.new | ||
@@ -352,7 +352,9 @@ contains | ||
enddo ; enddo ; enddo | ||
|
||
!jgj: Reset CASED to 0 below K=1 | ||
- if ( (trim(g_tracer_name) == 'cased') .or. (trim(g_tracer_name) == 'ca13csed') ) then | ||
+ ! dts: also WOMBAT sediment tracers | ||
+ if ( (trim(g_tracer_name) == 'cased') .or. (trim(g_tracer_name) == 'ca13csed') .or. & | ||
+ (trim(g_tracer_name) == 'det_sediment') .or. (trim(g_tracer_name) == 'caco3_sediment')) then | ||
do k=2,nk ; do j=jsc,jec ; do i=isc,iec | ||
if (tr_ptr(i,j,k) /= CS%tracer_land_val) then | ||
tr_ptr(i,j,k) = 0.0 |