Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-engineer goto continue statements #28

Open
aosprey opened this issue May 26, 2023 · 0 comments
Open

Re-engineer goto continue statements #28

aosprey opened this issue May 26, 2023 · 0 comments

Comments

@aosprey
Copy link
Owner

aosprey commented May 26, 2023

Identified in #27, but the goto continues are a bit more complicated to remove. In particular in mckpp_physics_ocnstep, it would require restructuring the WHILE loop:

DO WHILE flags
  stuff

  IF (L_KPP) 
45  CONTINUE
    stuff

    IF (cond) 
      GOTO 45
    END IF

    stuff
  END IF
  
END DO 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant