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

Removing cython dependency #168

Merged
merged 85 commits into from
Jan 31, 2024
Merged

Removing cython dependency #168

merged 85 commits into from
Jan 31, 2024

Conversation

lachlangrose
Copy link
Member

Fairly major changes to the interpolation removing the requirement for cython by finding common faces for the tetrahedron. This approach works for both structured and unstructured tetra e.g. tetra defined by a cartesian grid and also tetra defined by elements, nodes and neighbours.

also adding some type hints and a generic numeric type
need to add some better tests not just 0 and 1s
not required, can be done using processor
same interpolator but this implementation uses numpy instead of cython
this means no more cython code
there is no real advantage to using a builder design pattern for loopstructural
this just makes it easier to scale scalar field between 0 and 1
required changing how fold interpolator is setup. Rather than
initialising with a fold, the fold is added to the interpolator
added map between stringinterpolator names and the interpolatortypes enum
@lachlangrose lachlangrose merged commit 21e5572 into master Jan 31, 2024
21 checks passed
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.

2 participants