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

Cleanup in NEMO #1389

Merged
merged 4 commits into from
Oct 3, 2021
Merged

Cleanup in NEMO #1389

merged 4 commits into from
Oct 3, 2021

Conversation

jtneedels
Copy link
Contributor

Signed-off-by: jtneedels jneedels@stanford.edu

Proposed Changes

  • General cleanup/optimization in NEMO solver/numerics

Related Work

PR Checklist

Put an X by all that apply. You can fill this out after submitting the PR. If you have any questions, don't hesitate to ask! We want to help. These are a guide for you to know what the reviewers will be looking for in your contribution.

  • I am submitting my contribution to the develop branch.
  • My contribution generates no new compiler warnings (try with the '-Wall -Wextra -Wno-unused-parameter -Wno-empty-body' compiler flags, or simply --warnlevel=2 when using meson).
  • My contribution is commented and consistent with SU2 style.
  • I have added a test case that demonstrates my contribution, if necessary.
  • I have updated appropriate documentation (Tutorials, Docs Page, config_template.cpp) , if necessary.

Signed-off-by: jtneedels <jneedels@stanford.edu>
@pr-triage pr-triage bot added the PR: draft label Oct 3, 2021
@jtneedels jtneedels requested a review from WallyMaier October 3, 2021 05:34
@jtneedels jtneedels marked this pull request as ready for review October 3, 2021 15:58
@jtneedels jtneedels requested a review from pcarruscag October 3, 2021 15:59
@jtneedels jtneedels merged commit 9f25ad6 into develop Oct 3, 2021
@jtneedels jtneedels deleted the feature_cleanup branch October 3, 2021 23:53
@@ -336,5 +328,4 @@ CNumerics::ResidualType<> CAvgGradCorrected_NEMO::ComputeResidual(const CConfig
}

return ResidualType<>(Flux, nullptr, nullptr);
}

}
Copy link
Contributor

Choose a reason for hiding this comment

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

I am not sure whether there are negative consequences of not having a newline at the end of the file, but if GitHub warns about this one might as well just add a newline :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes good point, it looks like this is mainly to differentiate a file with/without the newline in the diff, but I guess can also cause issues in some cases if files are concatenated. I'm going to open up a second PR to clean up the NEMO convective schemes, I'll address this fix.

@TobiKattmann TobiKattmann mentioned this pull request Oct 5, 2021
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants