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

number of ghost layers needs to be set for bilinear maps #6851

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

iulian787
Copy link
Contributor

@iulian787 iulian787 commented Dec 15, 2024

number of ghost layers needs to be setup correctly for the bilinear maps;
different PE layouts should result in the same map.

[BFB]

need a new version of moab master, anyway
Copy link

PR Preview Action v1.4.8
🚀 Deployed preview to https://E3SM-Project.github.io/E3SM/pr-preview/pr-6851/
on branch gh-pages at 2024-12-15 06:37 UTC

@rljacob rljacob requested a review from vijaysm December 15, 2024 16:11
@rljacob rljacob self-assigned this Dec 15, 2024
! for bilinear maps, we need to have a layer of ghosts on source
nghlay = 1 ! number of ghost layers
ierr = iMOAB_SetGhostLayers( mbaxid, nghlay )
if (ierr .ne. 0) then
Copy link
Contributor

Choose a reason for hiding this comment

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

I haven't tested an app that computes both conservative and bilinear in the same instance, when bilinear requires a ghost layer. Did you verify that conservative maps then remain the same? They should since we are adding more information to the mesh but I want to ensure the ghosted elements don't get counted twice. @iulian787

The change itself looks fine to, pending MOAB changes to get the functionality working correctly.

Copy link
Contributor

@vijaysm vijaysm left a comment

Choose a reason for hiding this comment

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

Changes look fine.

rljacob added a commit that referenced this pull request Jan 8, 2025
number of ghost layers needs to be setup correctly for the bilinear maps;
different PE layouts should result in the same map.

[BFB]
@rljacob rljacob merged commit 9743e2b into master Jan 9, 2025
9 checks passed
@rljacob rljacob deleted the iulian787/ghost_layers_bilinear branch January 9, 2025 00:49
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.

3 participants