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 edge refinement #49

Merged
merged 136 commits into from
Nov 5, 2024
Merged

Fix edge refinement #49

merged 136 commits into from
Nov 5, 2024

Conversation

JPPayonk
Copy link
Collaborator

  • fix edge refinement and naming
  • add an example to MeshAPI
  • label only the outer edges of the contact

@JPPayonk JPPayonk linked an issue Jul 25, 2024 that may be closed by this pull request
Copy link
Collaborator

@j-zimmermann j-zimmermann left a comment

Choose a reason for hiding this comment

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

I think your code makes sense so far but I actually found a bigger problem looking at it.
Since the contacts are oriented before (!) the edge names are assigned, I would expect weird behaviour for all electrodes that not oriented in z-direction (0, 0, 1).
I tested this locally for the Vercise (not directed).
I see two possible options: either always consider the orientation when finding the contacts or having an unoriented base contact that later gets oriented.

@j-zimmermann j-zimmermann merged commit 95d2ea3 into main Nov 5, 2024
9 checks passed
@j-zimmermann j-zimmermann deleted the fix_edge_refinement branch November 5, 2024 20:56
@j-zimmermann j-zimmermann mentioned this pull request Nov 5, 2024
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.

Wrong (?) naming of surfaces BUG: Edge refinement of directed electrodes
4 participants