Skip to content

Commit

Permalink
Merge branch 'dev/master' into user/ksh/open_bc
Browse files Browse the repository at this point in the history
  • Loading branch information
kshedstrom committed Sep 9, 2016
2 parents 1c00163 + 2b4a8fb commit cb553eb
Show file tree
Hide file tree
Showing 5 changed files with 471 additions and 141 deletions.
2 changes: 2 additions & 0 deletions config_src/dynamic/MOM_memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
! NJPROC_ is the number of processors in the
! y-direction.

#ifndef MAX_FIELDS_
#define MAX_FIELDS_ 50
#endif
! The maximum permitted number (each) of
! restart variables, time derivatives, etc.
! This is mostly used for the size of pointer
Expand Down
2 changes: 1 addition & 1 deletion src/core/MOM.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ subroutine step_MOM(fluxes, state, Time_start, time_interval, CS)
if (Time_local + set_time(int(0.5*dt_therm)) > CS%Z_diag_time) then
call enable_averaging(real(time_type_to_real(CS%Z_diag_interval)), &
CS%Z_diag_time, CS%diag)
call calculate_Z_diag_fields(u, v, h, CS%dt_trans, &
call calculate_Z_diag_fields(u, v, h, ssh, CS%dt_trans, &
G, GV, CS%diag_to_Z_CSp)
CS%Z_diag_time = CS%Z_diag_time + CS%Z_diag_interval
call disable_averaging(CS%diag)
Expand Down
Loading

0 comments on commit cb553eb

Please sign in to comment.