Skip to content

Commit eeb5f9d

Browse files
committed
Split western and eastern OBC loops
Split the loops applying western and eastern open boundary conditions in apply_u_velocity_OBCs and southern and northern OBCs in apply_v_velocity_OBCs. These usually cover very different loop ranges, and often there is only one of the pair of OBCs on any processor, so it should be more efficient to only apply the OBCs on within the loop ranges where they apply (which can be determined during initialization). The code still works for arbitrarily located OBC segments, and all answers are bitwise identical.
1 parent 6be7f11 commit eeb5f9d

File tree

1 file changed

+198
-139
lines changed

1 file changed

+198
-139
lines changed

0 commit comments

Comments
 (0)