forked from marbl-ecosys/MARBL
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up linked list code (following review)
1. Typo in marbl_interface.F90 -- abort if registered_output is not associated (was checking this%output_for_gcm_registry%registered_outputs by accident) 2. Add comment about why create_registry() resets err_message to "" before each entry (and clean up errant white-space misalignment) 3. Also, blocks in create_registry() are easier to read if we set err_message to "" and then use a continutation line for the if () rather than using if-else 4. For adding to the registry linked list, order doesn't matter but the logic is simpler (and code is faster) if we prepend entries rather than looping through to the end of the list every time
- Loading branch information
1 parent
03fa250
commit c371b6a
Showing
2 changed files
with
40 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters