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

refactor!: rework icells & core source structure #26

Closed
wants to merge 55 commits into from
Closed

Conversation

imrn99
Copy link
Collaborator

@imrn99 imrn99 commented Mar 25, 2024

Description

Rework the entire vertex / edge / face management of the map structure. This includes changes such as:

  • incorporate Orbit2 into the CMap2 methods (both for usage & return values)
  • update icell interfaces (e.g. vertex_id, face_id, ...) with the new ID computation logic
  • remove previously used structures that aren't relevant anymore (e.g. DartData, Face, ...)
  • restructure the source code layout in honeycomb-core

To-do:

  • Re-implement the (un)sewing methods
  • Update changelog file
  • Update documentation
  • Update examples
  • implement link methods (identical to sew, without the geometrical update)
  • Update other crates to fit the new API

Scope

  • Code: mainly honeycomb-core, other members are updated to accommodate for the former's changes
  • Documentation

Type of change

  • New feature(s)
  • Refactor

Other

  • Breaking change

Necessary follow-up

...

Mentions

...

imrn99 added 30 commits March 22, 2024 10:36
this only affects the main crate, I will fix others later
the vector doesn't really make sense since cell IDs are not contiguous
anymore; the other solution would be an optimized structure for sparse
vectors
remove the ones that don't make sense (adds) & insert a todo!() in the
ones remaining
with the new ID methods, it was not used anymore
will replace it later
they probably should be cahnged further, but atm this is what's
necessary for the doc to compile
also replace the code in sew ops by call to the new methods
imrn99 added 25 commits March 25, 2024 16:17
some of those don't really make sense anymore (e.g. i_cell bench with
orbits)
its probably highly inefficient atm, but it compiles
@imrn99
Copy link
Collaborator Author

imrn99 commented Mar 27, 2024

Closing the PR because of issues with the reworked code. I'll continue testing things out on the rework-icells branch & will figure out how to cleanly merge the changes via new branches.

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.

1 participant