Subroutines in Fortran user-written model

asked 2026-07-13 22:11:43 -0500

jordbud gravatar image

I am wondering if I can use subroutines/functions inside the model Fortran code, similarly to how we use functions in other coding languages?

This is just to simplify the code, so instead of having several instances of the same code block, I can just call the subroutine with the relevant inputs/outputs.

Thanks

edit retag flag offensive close merge delete