Skip to content

Commit

Permalink
Update run_obs_sens_prop.py
Browse files Browse the repository at this point in the history
an update of the factoring of equations in issue 120, means this multiplication by -1 should be removed
  • Loading branch information
dngoldberg authored Nov 29, 2023
1 parent f791e73 commit 9f6080d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runs/run_obs_sens_prop.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ def run_obs_sens_prop(config_file):
# but it needs to be made negative..

# note -- added mult by -1 because im not sure i had before, can be taken out
dobsu = -1.0*Amat_obs_action(P, Ru, tauu, interp_space)
dobsv = -1.0*Amat_obs_action(P, Rv, tauv, interp_space)
dobsu = Amat_obs_action(P, Ru, tauu, interp_space)
dobsv = Amat_obs_action(P, Rv, tauv, interp_space)

# this end result (above) corresponds only to the velocity obs
# that live on this processor's subdomain. An MPI reduce
Expand Down

0 comments on commit 9f6080d

Please sign in to comment.