-
Notifications
You must be signed in to change notification settings - Fork 0
Fix corner starts #78
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
base: add-periodic-corner-nbrs
Are you sure you want to change the base?
Conversation
niravshah241
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, looks good. Some quick formulae checks and making private members to public in partition.hpp have been suggested.
The unit tests for is_corner_neighbour and haloCornerBufferPositions (previously halo_corner_start) have been written in the branch add-periodic-corner-nbrs. (It will need some changes depending upon final function calls and index changes.)
0e4179e to
66cd9d5
Compare
66cd9d5 to
b8ef5f5
Compare
|
Tests are added to this branch. The tests in |
b8ef5f5 to
4441ccf
Compare
|
Tests related to In addition the images for tests have now been added in |
There is no difference. I had made a typo in the doc string but the functionality is correct. This has been fixed in commit 5380006 Please remove the image from the img folder. If we want to upload an image it should be svg and have more description. FWIW we can see the domain layout looking at the partition_mask files. |
This PR fixes corner neighbour metadata for periodic boundaries
Key Changes
haloCornerBufferPositions()logic to correctly handle periodic boundary conditionsTests
test_haloBufferPositions.cpptest_haloCornerBufferPositions.cpptest_is_corner_neighbour.cpptest_is_neighbour.cppTODO:
haloCornerBufferPositionshaloBufferPositionsfunctions @niravshah241 is working onhaloBufferPositionstohaloEdgeBufferPositions(this will be handled in a following PR -- see issue cosmetic changes to domain_decomp #80 )haloCornerBufferPositionsfor periodic corner neighbours (@niravshah241 is double checking)test_halo_corner_starttest is failing -> See https://github.com/Fix corner starts #78/commits/b8ef5f59ec36814b6029fe174bc70a37ba888581
haloBufferPositions(i.e., use same approach ashaloCornerBufferPositions)