Skip to content

Commit

Permalink
Need to figure otu why answers are changing
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Shao committed Oct 13, 2016
1 parent ecdde94 commit cb796e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/MOM.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2538,7 +2538,7 @@ subroutine initialize_MOM(Time, param_file, dirs, CS, Time_in, do_online_out)
if(present(do_online_out)) do_online_out=CS%do_online

if(.not. CS%do_online) then
call offline_transport_init(param_file, CS%offline_CSp, CS%diabatic_CSp, G, GV)
call offline_transport_init(param_file, CS%offline_CSp, CS%diabatic_CSp%diabatic_aux_CSp, G, GV)
call register_diags_offline_transport(Time, CS%diag, CS%offline_CSp)
endif

Expand Down
2 changes: 1 addition & 1 deletion src/tracer/MOM_offline_control.F90
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ subroutine offline_transport_init(param_file, CS, diabatic_aux_CSp, G, GV)
if(.not. CS%fields_are_offset) CS%ridx_snap = CS%start_index

! Copy over parameters from other control structures
if(associated(diabatic_CSp%diabatic_aux_CSp)) then
if(associated(diabatic_aux_CSp)) then
CS%evap_CFL_limit = diabatic_aux_CSp%evap_CFL_limit
CS%minimum_forcing_depth = diabatic_aux_CSp%minimum_forcing_depth
endif
Expand Down

0 comments on commit cb796e0

Please sign in to comment.