Skip to content

Commit

Permalink
(*)Parenthesize MOM_hor_visc for FMAs
Browse files Browse the repository at this point in the history
  Added parentheses to 40 expressions horizontal_viscosity and another 14
expressions in in hor_visc_init and 3 more in align_aniso_tensor_to_grid to give
rotationally consistent solutions when fused-multiply-adds are enabled.   Also
swapped the order of two terms in the expression for Del2u to mirror the order
of the corresponding terms in Del2v for rotational symmetry with FMAs.  All
answers are bitwise identical in cases without FMAs, but answers could change
when FMAs are enabled.
  • Loading branch information
Hallberg-NOAA committed Jul 29, 2024
1 parent 6216fa1 commit ffef92f
Showing 1 changed file with 133 additions and 133 deletions.
Loading

0 comments on commit ffef92f

Please sign in to comment.