-
Notifications
You must be signed in to change notification settings - Fork 133
Replace fprettify with ffmt formatter; comment cleanup #1334
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
Open
sbryngelson
wants to merge
23
commits into
MFlowCode:master
Choose a base branch
from
sbryngelson:packages
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+13,337
−20,472
Open
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
1f83aeb
Integrate ffmt Fortran formatter into MFC
sbryngelson d9d7ee2
Apply ffmt formatting with comment alignment and idempotency fixes
sbryngelson cb33f11
Apply ffmt: remove bare !<, convert to !> block comments, align inlin…
sbryngelson 49353ad
Apply ffmt: blank line formatting, comment rewrapping, use/declaratio…
sbryngelson 01fd1b6
Apply ffmt: remove blanks after #ifdef, fix Fypp continuation alignment
sbryngelson 91eabae
Apply ffmt: fix blank lines after #ifdef in declaration regions
sbryngelson 023a5b4
Apply ffmt: remove blank lines after #else/#elif continuations
sbryngelson 83576b6
Apply ffmt: strip trailing !& no-op comments from m_weno.fpp
sbryngelson adc5219
Apply ffmt: strip comment-only continuation lines (& ! ...)
sbryngelson 4ab00f4
Condense verbose multi-line comments across codebase
sbryngelson a1af509
Fix spelling errors and remove redundant comments across codebase
sbryngelson 55e39d8
Fix stale comments and remove dead code
sbryngelson b6fa124
Remove commented-out dead code (debug prints, old IB I/O, stale imple…
sbryngelson 861cb51
Add physics documentation: paper references, equation citations, algo…
sbryngelson 9be1d12
Add documentation: model branch labels, solver references, algorithm …
sbryngelson 237f38a
Trim verbose paper references and remove duplicate comments
sbryngelson 17d142e
Fix unterminated comment: remove /**R pattern that triggers C-style b…
sbryngelson b15c089
Document GPU macros and constants; remove generic use-statement comments
sbryngelson eb81d5c
Fix dead Stanford link in NACA airfoil docs
sbryngelson 81e4e98
Fix comment typos, remove dead code, apply ffmt S102/S081 formatting
sbryngelson 17b6fdd
Standardize Doxygen: remove obvious @param, clean verbose headers, co…
sbryngelson eeece9b
Add missing subroutine headers; fix orphan !!, !!IB markers, !!> syntax
sbryngelson 10c5a16
Fix Doxygen markers: !! to !<, !!< to !<, inline variable docs, conde…
sbryngelson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -113,3 +113,4 @@ benchmarks/*.png | |
| cce_*/ | ||
| cce_*.log | ||
| run_cce_*.sh | ||
| .ffmt_cache/ | ||
This file contains hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # MFC Fortran formatting configuration | ||
| # These are the defaults — this file makes them explicit. | ||
|
|
||
| indent-width = 4 | ||
| keyword-case = "lower" | ||
| normalize-keywords = true | ||
| indent-fypp = true | ||
|
|
||
| [whitespace] | ||
| relational = true | ||
| logical = true | ||
| plusminus = true | ||
| multdiv = false | ||
| power = false | ||
| assignment = true | ||
| declaration = true | ||
| comma = true | ||
This file contains hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use 2-space indentation in formatter config.
Line 4 sets
indent-width = 4, which conflicts with the project Fortran style and can cause persistent formatting drift.Suggested fix
As per coding guidelines:
Use 2-space indentation, lowercase keywords, and explicit intent on all subroutine/function arguments in Fortran code.📝 Committable suggestion