-
Notifications
You must be signed in to change notification settings - Fork 68
Feature: extend leaf face neighbor to non-balanced forests and ghosts [N/N] #1736
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
Open
holke
wants to merge
220
commits into
main
Choose a base branch
from
feature-extend_lfn_to_ghosts
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,469
−548
Open
Changes from all commits
Commits
Show all changes
220 commits
Select commit
Hold shift + click to select a range
6cc10ee
proper abort message when using lfn with unbalanced forest
holke a390ed6
change leaf parameter name. Add ghost todo comments
holke a12e38e
adapt iterate face example
holke 413b23d
fix deleted bracket
holke 0d5fe2a
use RAII where possible
holke e6969d5
update iterate face example to ghost face iterate
holke 3257123
more const for split_array functions
holke 8118b95
add ghost check functionality to t8_forest_element_is_leaf
holke 6c331bd
comment and remove empty lines
holke 6f2b7b7
iterate faces now supports ghosts
holke 8f1b4d0
debug guards around check used only in debug mode
holke 6cf5c42
Merge branch 'feature-more_const' into feature-extend_lfn_to_ghosts
holke 07d250b
Merge branch 'feature-element_is_ghost' into feature-extend_lfn_to_gh…
holke 1734d0f
make comment of bin search clearer
holke 26a28a3
start with lfn extension for ghost, have structure done and know what…
holke 6ee399a
remove TODO comment
holke abdff17
todo comments
holke be072c0
Add face iterate callback to leaf face neighbor
holke 716097d
is_leaf_or_ghost correct assertion
holke d8bdecc
adaptations in face iterate callback
holke 554ab7b
add ghost support to t8_forest_element_neighbor_eclass
holke 39a9bf0
final extensions of lfn to ghost elements
holke 1a39eb8
t8_forest_element_neighbor_eclass adaptation to declaration
holke 7e9c27e
user data parameter handling for iterate faces
holke 2f68110
Remove is_balanced parameter from lfn function since no longer required.
holke 58369cb
improve function documentation
holke 17c869b
fix abort if incomplete forest
holke f4d50df
return when no neighbors are found
holke dce66ae
only compute ghost tree if ghosts exists
holke 591d2ff
skip if case when no neighbors found in search
holke 731c062
comments
holke 86bcfdd
fix wrongly placed brace
holke 6b61f19
add first test case
holke b0d73ba
only do face neighbors when default quad or hex
holke b9a6eea
fix user data pointer in callback
holke e009667
fix memory counting and handling for computed neighbors
holke 963c4d2
face iterate use is leaf check
holke 59533d9
adjustments to face neighbor computation
holke c7654ea
extend lfn test
holke 7d9a6a9
comments
holke 7e7dd6b
Face iteration requires view into partial leaf array
holke 13cf0a5
store local or ghost tree info with leaf arrays for face iteration
holke cd7ac01
extend forest_element_face_neighbor to ghosts
holke b3c19d7
extend leaf_face_neighbors_iterate to ghosts
holke 3c53f03
new check elements for ancestor function
holke f584941
In face neighbor computation check whether neighbors would exist befo…
holke b5ec551
more output in test
holke 35843c5
indent
holke 841e3ce
index checks in face neighbor test
holke f9a5f17
Add own test file for reusable adapt callbacks
holke d96348d
add testing of adapted forest to face neighbor test
holke 9ab0b11
clean up custom assertion test header
holke 8d751e2
fix pointer arithmetic
holke 13ec5ca
extend checks in test for adaptive forest
holke eab1b42
temporarily skip adapted forest in test
holke 60e84ad
debugging output
holke b2f45d2
proper conversion of pointer output
holke d5eeb2f
comment
holke 0ff6b4e
Merge branch 'main' into feature-extend_lfn_to_ghosts
lukasdreyer 5033098
leafs -> leaves
lukasdreyer 06de973
fix CI
lukasdreyer 7412720
adapt test parameter
lukasdreyer de40d50
Merge branch 'main' into feature-extend_lfn_to_ghosts
lukasdreyer cccd74b
indent
lukasdreyer 4184f91
Merge branch 'feature-extend_lfn_to_ghosts' of github.com:DLR-AMR/t8c…
lukasdreyer 6644a45
Merge branch 'main' into feature-extend_lfn_to_ghosts
sandro-elsweijer 62da259
Merge remote-tracking branch 'origin/feature-extend_lfn_to_ghosts' in…
holke 456764f
Merge remote-tracking branch 'origin/main' into feature-extend_lfn_to…
holke a7c83c6
merge updates from fix-forest_leave_face_neigh
holke f66fa5c
update test file from fix-forest_leave_face_neigh branch
holke dc3105b
add same level face neigh to header
holke 9e42acf
Move element_find_owner to public interface
lukasdreyer 424e918
Add TODO comment for adaptive bug and how to solve it
holke 97300de
update todo comment
holke 2d32642
Merge remote-tracking branch 'origin/main' into feature-extend_lfn_to…
holke 05951a0
change ifdef to if
holke 8bcdd2f
Merge branch 'feature-geometry_improved_hashes' into feature-extend_l…
holke fe80541
Merge remote-tracking branch 'origin/main' into feature-extend_lfn_to…
holke 6c8241b
update element/leaf function calls
holke f6c0f4d
Merge remote-tracking branch 'origin/feature-element_is_ghost' into f…
holke 504ade7
repair merge, is_leaf test reduce cmeshes
holke b78f5ea
improve comments
holke fa49f00
Change TODO comment to updated strategy - i am very sure that this wi…
holke 357331c
update lfn computation to new strategy via same level neighbor. Now o…
holke 52eafd4
indent
holke 3943b65
Change parameter of iterate_faces to const*const
holke c51508c
Merge branch 'feature-ancestor_search' into feature-extend_lfn_to_ghosts
holke 8941057
Merge branch 'feature-ancestor_search' into feature-extend_lfn_to_ghosts
holke 9920bb8
remove old elements_are_ancestor
holke 8d7112e
Add new lfn computation via first descendant of same level neighbor
holke fa981d3
docstring
holke d43ed6e
t8_forest_bin_search_first_descendant_ancenstor fix parameter
holke 3ca4e23
restrict search to the descendant of the neighbor element
holke 3d1016d
Merge remote-tracking branch 'origin/main' into feature-extend_lfn_to…
holke 0b3c46f
typo
holke 56b3e51
Add debug output to remove later
holke 132a09c
rename face neighbor test t8 t8_gtest_leaf_face_neighbors
holke 7e4090a
Set no neighbors found return values in separate function
holke 220f246
only compute level if elements exist
holke 60e0a32
Correct off by one error
holke 2e4039f
debug out
holke 50a6d66
Edit docstring for t8_forest_iterate_faces
holke 3a69df1
Add adapt_callback linkage to t8_gtest_element_is_leaf_serial test
holke 2d44b82
Merge remote-tracking branch 'origin/feature-ancestor_search' into fe…
holke 83c39ac
Fix search range computation by computing last element
holke 8bc7c1e
only reallocate memory if neighbors are found
holke 00ac942
additional debug check that all leafs to search for are descendants o…
holke e4a9fb2
Simplify the search for the last element in search range
holke 71a5a99
remove old code
holke c2a2270
indent
holke c3bd2b3
fix debug out file format warnings
holke 3fc80e6
Add unused parameter flag
holke fc749fa
add unused flags to adapt callback
holke e5b68b7
typos
holke 9676881
typos
holke d1c8bd9
add unused flag
holke a79ac31
In leaf face neighbor the succesor now is only computed if it exists.
holke fa4f3b8
Leaf face neighbor make neighbor_leave pointer to const element and r…
holke b927985
fix wrong class in debug print
holke c75f9ac
indent step6
holke ed72f26
Add t8_cmesh_get_tree_face_neighbor_eclass function to compute the ec…
holke 192de69
Adapt t8_forest_element_neighbor_eclass
holke 2eefe97
Use neighbor eclass INVALID argument to exclude computing the face ne…
holke ee0e88d
extend forest element face neighbor to ghost input
holke 78b7f83
string for invalid eclass
holke 5ea9552
bugfix element_face_neighbor ghost extension
holke 76c3d5a
minor edit
holke e8ca951
Use loop over levels to compute dual face of possible neighbor
holke 09a341a
Improve element_face_neighbor
holke f207641
Fix t8_forest_element_neighbor_eclass, wrong face passed to cmesh
holke 5f8c8e4
activate face neighbor computation for all shapes. Still buggy in par…
holke 0e402dc
drastically simplify t8_forest_element_face_neighbor
holke 8a07d6a
skim down lfn neighbor search user data struct
holke 4bb6d1b
remove old code comment
holke a815e41
remove unneeded eclass var
holke 8ea3c90
Merge remote-tracking branch 'origin/main' into feature-extend_lfn_to…
holke ad60ded
Merge remote-tracking branch 'origin/fix-1951_half_face_neighbor_orde…
holke 39fed67
use ECLASS_INVALID in half neighbor test
holke 1ddccc0
correct typos
holke 84b73e8
Merge branch 'fix-vtk_dontcomputeboundsforemptyproc' into feature-ext…
holke 835b26e
Merge branch 'feature-ancestor_face' into feature-extend_lfn_to_ghosts
holke 7a4aaed
use new ancestor face function
holke eec8b63
more const params
holke ab3ae97
Merge branch 'feature-face_iterate_const' into feature-extend_lfn_to_…
holke 9da2cba
const function callback params
holke bf34673
remove unneeded debug code that skipped cmeshes in testing
holke f521498
bugfix order of parameters in function call
holke 8ea1d96
remove test code that was left over from debugging and did nothing
holke 37d0fe1
protect debugging code in debugging macros
holke 530cd58
rename parameter to satisfy typo script
holke bcd7ab4
element maybe unused in iterate callback
holke 15dbc35
Its now possible to call leaf face neighbor if forest does not have g…
holke 77bf79e
Improve docu
holke 360e65f
maybe unused params for adapt callback
holke bdab737
Merge branch 'main' into feature-extend_lfn_to_ghosts
holke 65bed2d
Merge remote-tracking branch 'origin/main' into feature-extend_lfn_to…
holke 0431d2d
Merge remote-tracking branch 'origin/feature-extend_lfn_to_ghosts' in…
holke 07581ee
change include paths
holke 30b8b4c
Merge branch 'main' into feature-extend_lfn_to_ghosts
Davknapp df6adc8
Merge remote-tracking branch 'origin/feature-ancestor_face' into feat…
holke 93c7d2b
Merge remote-tracking branch 'origin/feature-ancestor_search' into fe…
holke e6fdb60
Fix linker issue since helper file was not compiled for test
holke 64e5ed7
Fix memory error, neighbor element was not destroyed
holke 2551707
Fix documentation
holke e4141c7
Adapt mesh handle to new face neighbor interface
holke a0bef83
Merge remote-tracking branch 'origin/main' into feature-extend_lfn_to…
holke 681986e
indent
holke d69d6bb
Activate lfn test. No idea why it was not active before
holke 93fa059
Add specific lfn test case with 2 square twisted mesh file
holke e437acf
Add NEWS.md text
holke 633d3c9
Merge remote-tracking branch 'origin/main' into feature-extend_lfn_to…
holke f240d50
Merge branch 'main' into feature-extend_lfn_to_ghosts
holke 586d427
Document adapt callback
holke 1d7b4cc
fix merge
holke d615562
remove blank space
holke 8e868df
adapt path to new testfile path
holke 3eb024a
remove lambda left over from merge
holke c4dfd94
reduce test levels
holke ad5e807
change how we get the element
holke 3d47ae0
Merge branch 'main' into feature-extend_lfn_to_ghosts
Davknapp 6169b2c
revert change how we get element. Need to access array since it could…
holke cac5e1a
Merge remote-tracking branch 'origin/feature-extend_lfn_to_ghosts' in…
holke a356d82
Try fixing mesh file path
holke ba4f56d
Merge remote-tracking branch 'origin/main' into feature-extend_lfn_to…
holke 77f1394
Add more tests in msh file example and add comment
holke c01f3dc
Merge branch 'main' into feature-extend_lfn_to_ghosts
Davknapp f2ca5c0
Merge with main
holke a96ab65
indent
holke f686d6d
Merge with main
holke 7e62fa1
Merge with main
holke 77caff0
Merge with main
holke e01ad05
Merge branch 'main' into feature-extend_lfn_to_ghosts
holke 908c892
typo
holke 2ce33d3
use new test data dir to locate test file
holke bd72a1b
Update date in copyright info
holke dcfba26
user better varname uniform_level in test
holke 01f2940
change ?: operator logic to make code more readable
holke 0601cc0
check element index if it is a ghost - part 1
holke 310168b
Merge remote-tracking branch 'origin/feature-extend_lfn_to_ghosts' in…
holke bc0a583
fix wrong index
holke cf7cd10
unify element index verification in neighbor and neighbor neighbor case.
holke 98cbd6a
remove old fflush
holke a5944bc
Typo
holke 493252d
rearrange ternary operator logic
holke f4f2a59
More const.
holke fdd4f6b
reorder ternary operator
holke 0b24eea
Apply suggestion from @Davknapp
holke 37893c3
Add a comment on T8_FREE usage in test
holke bfff90a
indent
holke 6dec6ed
Merge remote-tracking branch 'origin/feature-extend_lfn_to_ghosts' in…
holke 04ff6ff
Specify neighbor face in comment
holke 79ddd70
Add a comment referring a TODO to an issue
holke bdaa3e8
Change variable name for better readability
holke b619b61
Change ternary operator logic
holke e6a16c2
Change if else evaluation logic
holke 72f3822
Add comment to t8_forest_leaf_face_neighbors_set_no_neighbor_return_v…
holke 2ffc7f8
remove done TODO comment
holke 422c1f8
Merge remote-tracking branch 'origin/feature-extend_lfn_to_ghosts' in…
holke 4cec37d
Change TODO comment and need to investigate
holke 741e8ad
indent
holke File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am not sure why i edited this and what i did here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Adapted this example to the new face neighbor function.