Skip to content

Commit

Permalink
Fix some calls to volWgtSum (#2779)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpkatz authored Mar 17, 2024
1 parent 46ece2f commit 50f61c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/driver/sum_integrated_quantities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ Castro::sum_integrated_quantities ()
ang_mom[2] += ca_lev.volWgtSum("angular_momentum_z", time, local_flag);

#ifdef HYBRID_MOMENTUM
hyb_mom[0] += ca_lev.volWgtSum(S_new, UMR, time, local_flag);
hyb_mom[1] += ca_lev.volWgtSum(S_new, UML, time, local_flag);
hyb_mom[2] += ca_lev.volWgtSum(S_new, UMP, time, local_flag);
hyb_mom[0] += ca_lev.volWgtSum(S_new, UMR, local_flag);
hyb_mom[1] += ca_lev.volWgtSum(S_new, UML, local_flag);
hyb_mom[2] += ca_lev.volWgtSum(S_new, UMP, local_flag);
#endif

com[0] += ca_lev.locWgtSum(S_new, URHO, 0, local_flag);
Expand Down

0 comments on commit 50f61c2

Please sign in to comment.