Skip to content

New Y-Boundaries for unified sheath code#3308

Draft
dschwoerer wants to merge 115 commits into
nextfrom
new-par-bc-unified
Draft

New Y-Boundaries for unified sheath code#3308
dschwoerer wants to merge 115 commits into
nextfrom
new-par-bc-unified

Conversation

@dschwoerer
Copy link
Copy Markdown
Contributor

This allows to implement unified BCs for yup/ydown as well as FCI / FA.
Taking into acount things like whether the boundary is next to the domain, or between the parallel slices.

Copy link
Copy Markdown
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

There were too many comments to post at once. Showing the first 25 out of 109. Check the log or trigger a new build to see more.

Comment thread include/bout/boundary_iterator.hxx
Comment thread include/bout/boundary_iterator.hxx Outdated
Comment thread include/bout/boundary_iterator.hxx Outdated
Comment thread include/bout/boundary_iterator.hxx Outdated
Comment thread include/bout/boundary_iterator.hxx
Comment thread include/bout/boundary_iterator.hxx Outdated
Comment thread include/bout/boundary_iterator.hxx Outdated
Comment thread include/bout/boundary_iterator.hxx Outdated
Comment thread include/bout/boundary_iterator.hxx Outdated
Comment thread include/bout/boundary_iterator.hxx Outdated
Copy link
Copy Markdown
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

There were too many comments to post at once. Showing the first 25 out of 85. Check the log or trigger a new build to see more.

Comment thread include/bout/boundary_iterator.hxx Outdated
Comment thread include/bout/boundary_iterator.hxx
Comment thread include/bout/boundary_iterator.hxx Outdated
Comment thread include/bout/boundary_iterator.hxx Outdated
Comment thread include/bout/boundary_iterator.hxx Outdated
Comment thread include/bout/parallel_boundary_region.hxx Outdated
Comment thread include/bout/parallel_boundary_region.hxx Outdated
Comment thread include/bout/parallel_boundary_region.hxx Outdated
Comment thread include/bout/parallel_boundary_region.hxx Outdated
Comment thread include/bout/parallel_boundary_region.hxx Outdated
Copy link
Copy Markdown
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

There were too many comments to post at once. Showing the first 25 out of 55. Check the log or trigger a new build to see more.

Comment thread include/bout/boundary_iterator.hxx
Comment thread include/bout/boundary_iterator.hxx
Comment thread include/bout/boundary_iterator.hxx Outdated
Comment thread include/bout/boundary_iterator.hxx Outdated
Comment thread include/bout/boundary_iterator.hxx
Comment thread include/bout/parallel_boundary_region.hxx
Comment thread include/bout/parallel_boundary_region.hxx
Comment thread include/bout/parallel_boundary_region.hxx Outdated
Comment thread include/bout/parallel_boundary_region.hxx Outdated
Comment thread include/bout/parallel_boundary_region.hxx Outdated
Makes it easier to reuse for other code
Mimicks the parallel case, to write FCI independent code
The boundary region does not match what is done for the parallel case,
thus porting it to a iterator does not work.
hasBndryUpperY / hasBndryLowerY does not work for FCI and thus the
request does not make sense / can be configured to throw.
Thus it should not be checked if it is not needed.
BoundaryRegionIter has been delted
This allows to extend the boundary code to place the boundary further
away from the boundary.
This is more general and takes the offset() into account, and thus works
for cases where the boundary is between the first and second guard cell
Previously only the first boundary point was set
Taken from hermes-3, adopted for higher order
This allows to write code for FCI and non-FCI using templates.
Directly iterate over the points
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.

3 participants