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

Improve invSg calculation #2646

Merged
merged 11 commits into from
Apr 26, 2023
Merged

Improve invSg calculation #2646

merged 11 commits into from
Apr 26, 2023

Conversation

dschwoerer
Copy link
Contributor

Do some caching and fixes for FCI

dschwoerer and others added 6 commits February 7, 2023 15:39
It would be better to also do the calculation for the parallel slices
...
It doesn't change and avoids an unneeded communication. Can give
significan speedup.
@dschwoerer
Copy link
Contributor Author

Requires #2640

@dschwoerer dschwoerer marked this pull request as draft February 8, 2023 13:09
@dschwoerer dschwoerer marked this pull request as ready for review February 22, 2023 18:41
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

src/mesh/coordinates.cxx Outdated Show resolved Hide resolved
src/mesh/coordinates.cxx Outdated Show resolved Hide resolved
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@dschwoerer
Copy link
Contributor Author

Thanks @ZedThree for your valuable feedback and suggestions 👍

I think I have addressed everything.

@@ -149,7 +149,7 @@ public:

FieldMetric DDY(const Field2D& f, CELL_LOC outloc = CELL_DEFAULT,
const std::string& method = "DEFAULT",
const std::string& region = "RGN_NOBNDRY");
const std::string& region = "RGN_NOBNDRY") const;
Copy link
Member

Choose a reason for hiding this comment

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

Thanks! Bit by bit, we'll be const correct eventually

@ZedThree ZedThree merged commit dcda5d6 into next Apr 26, 2023
1 check passed
@ZedThree ZedThree deleted the invSg branch April 26, 2023 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants