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

Add isFci also to mesh #3001

Merged
merged 4 commits into from
Oct 28, 2024
Merged

Add isFci also to mesh #3001

merged 4 commits into from
Oct 28, 2024

Conversation

dschwoerer
Copy link
Contributor

No description provided.

@dschwoerer dschwoerer added the FCI label Oct 22, 2024
@dschwoerer
Copy link
Contributor Author

Like #2887 for the mesh

@dschwoerer
Copy link
Contributor Author

@ggeorgakoudis do you mind sharing the logs for the gitlab CI?
Is there a way to access the logs? It is a bit annoying to be told about failures without having a way to access the logs and debug the failure.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

include/bout/mesh.hxx Show resolved Hide resolved
@dschwoerer dschwoerer changed the base branch from next to add-is-fci October 22, 2024 11:06
Copy link
Contributor

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

@ggeorgakoudis
Copy link
Collaborator

@ggeorgakoudis do you mind sharing the logs for the gitlab CI? Is there a way to access the logs? It is a bit annoying to be told about failures without having a way to access the logs and debug the failure.

Unfortunately the gitlab CI is behind the LLNL firewall so only LLNL employees have access 🙁. It's not ideal but at least it gives us a way to do GPU run tests. I suppose @bendudson and myself can paste logs as needed.

Copy link
Member

@ZedThree ZedThree left a comment

Choose a reason for hiding this comment

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

LGTM. Would be good to get a test on this.

Comment on lines +639 to +640
std::shared_ptr<Coordinates>
getCoordinatesConst(const CELL_LOC location = CELL_CENTRE) const {
Copy link
Member

Choose a reason for hiding this comment

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

I think ideally this would be:

Suggested change
std::shared_ptr<Coordinates>
getCoordinatesConst(const CELL_LOC location = CELL_CENTRE) const {
const Coordinates&
getCoordinates(const CELL_LOC location = CELL_CENTRE) const {

but maybe this is too likely to cause issues elsewhere

@@ -828,6 +841,16 @@ public:
ASSERT1(RegionID.has_value());
return region3D[RegionID.value()];
}
bool isFci() const {
Copy link
Member

Choose a reason for hiding this comment

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

Please add a docstring

@bendudson bendudson merged commit a4b8abf into add-is-fci Oct 28, 2024
29 checks passed
@bendudson bendudson deleted the is-fci-mesh branch October 28, 2024 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants