Skip to content

Reformat GEOS_IrradGridComp.F90: consistent indentation and RC-macro style - #99

Merged
mathomp4 merged 1 commit into
developfrom
refactor/pchakrab/reindent-acgfy-restructure
Sep 3, 2026
Merged

Reformat GEOS_IrradGridComp.F90: consistent indentation and RC-macro style#99
mathomp4 merged 1 commit into
developfrom
refactor/pchakrab/reindent-acgfy-restructure

Conversation

@pchakraborty

Copy link
Copy Markdown

Purely mechanical formatting pass over the original (MAPL2) source, no functional changes.

  • Reindent all code to a consistent 3-space block indent. Use a flat 5-space continuation-line indent throughout.
  • Strip purely decorative dash-only/equals-only comment dividers
  • Collapse RC=STATUS / VERIFY_(STATUS) pairs - two-line, same-line (; VERIFY_(STATUS)), and extra-whitespace (RC=STATUS )) forms - into the single-line _RC macro. Pairs that can't be safely collapsed (if-condition usage, NotFoundOK calls, dynamic RATS pointers explicitly marked "Don't verify.", multi-branch calls sharing one trailing VERIFY_ after an if/elseif chain) are left as RC=STATUS/VERIFY_(STATUS).
  • Rename __RC__ -> _RC and __STAT__ -> _STAT throughout.

4574 -> 4425 lines.

…style

Purely mechanical formatting pass over the original (MAPL2) source, no
functional changes.

- Reindent all code to a consistent 3-space block indent. Use a flat
  5-space continuation-line indent throughout.
- Strip purely decorative dash-only/equals-only comment dividers
- Collapse `RC=STATUS` / `VERIFY_(STATUS)` pairs - two-line, same-line
  (`; VERIFY_(STATUS)`), and extra-whitespace (`RC=STATUS  )`) forms -
  into the single-line `_RC` macro. Pairs that can't be safely
  collapsed (if-condition usage, NotFoundOK calls, dynamic RATS
  pointers explicitly marked "Don't verify.", multi-branch calls
  sharing one trailing VERIFY_ after an if/elseif chain) are left as
  RC=STATUS/VERIFY_(STATUS).
- Rename `__RC__` -> `_RC` and `__STAT__` -> `_STAT` throughout.

4574 -> 4425 lines.
@pchakraborty
pchakraborty requested a review from a team as a code owner August 17, 2026 16:22
@github-actions

Copy link
Copy Markdown

Label error. Requires at least 1 of: 0 diff, 0 diff trivial, Non 0-diff, 0 diff structural, 0-diff trivial, Not 0-diff, 0-diff, automatic, 0-diff uncoupled. Found:

@pchakraborty pchakraborty self-assigned this Aug 17, 2026
@pchakraborty pchakraborty added the 0 diff trivial The changes in this pull request are trivially zero-diff (documentation, build failure, &c.) label Aug 17, 2026

@narnold1 narnold1 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine to me

@mathomp4

mathomp4 commented Sep 3, 2026

Copy link
Copy Markdown
Member

@narnold1 Would you mind being added to @GEOS-ESM/radiation-team ? I mean, since Peter left, you might be our expert in this!

@mathomp4
mathomp4 merged commit f0b561b into develop Sep 3, 2026
16 of 17 checks passed
@pchakraborty
pchakraborty deleted the refactor/pchakrab/reindent-acgfy-restructure branch September 3, 2026 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0 diff trivial The changes in this pull request are trivially zero-diff (documentation, build failure, &c.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants