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

Fix typo in initialisation of rgn_outer_x #1837

Merged
merged 1 commit into from
Nov 11, 2019

Conversation

AdamD94
Copy link
Contributor

@AdamD94 AdamD94 commented Nov 9, 2019

Currently rgn_outer_x will contain the outer x guard cells of the first processors in x rather than the outer boundary cells from the last x processors unless the domain is periodic in x.
I don't think this is the intended behaviour so this pull request switches the firstX() check for lastX() when initialising the region.
Addresses #1836

Use lastX() check instead of firstX() when initialising rgn_outer_x
@bendudson
Copy link
Contributor

Probably should go into master branch too

@ZedThree
Copy link
Member

Failing tests are just due to missing coverage token

@ZedThree ZedThree merged commit 1c71743 into boutproject:next Nov 11, 2019
@ZedThree
Copy link
Member

I'll cherry-pick into master now

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.

None yet

3 participants