-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The selalib code uses splines optimised for uniform knots and degree 3. This makes it significantly faster than the splines used in pygyro. This PR adds the optimised splines. The tests and simulation now run 2-5 times faster. As per h5py/h5py#2222 the installation workflow is also modified to fix the h5py installation * Allocate memory once * Use same code optimisations for all three accelerators. Rename functions to indicate non-uniform * Add specialised versions * Add flag to switch between codes * Rename functions * Improve stack array * Add vector function to spline to avoid unnecessary allocation. Make cubic_uniform_splines bspline-dependent * Update requirements for new pip standard * Update requirements for new pip standard * Pep * Upgrade versions * No problem * Try for newer * Newer pep * CODACY * Hypy needs specific mpi4py * Lower python version * Pep * New pep style * Update cache version * Revert changes * Add new arg * Correct formulae * Restrict uniform usage * Copy changes across languages * PEP * Correct errors * Use new args * PEP * Correct indentation * Better compile time * Correct numba files * Correct names * Examine tests * Use analytical profile * Check derivative * Add derivative test * Correct calculation * Remove unnecessary line * Update numba and pythran * Don't fail fast * Fix visual test * Typos * Better boundaries * Increase tolerance * Finite elements requires non-uniform splines * Use more readable error checking * PEP * Remove verbosity * Transfer fixes to pythran/numba * Add new BSplines argument everywhere * Correct pythran file * Avoid pyccel issue #1288 * Missing eval func * Fix pythran compilation * Fix numba compilation * PEP * Add missing export * CODACY * Correct string * Correct array sizes * Avoid rounding errors * More accurate name * Fix rouding issues * PEP * Comment future work * Fix arguments * Fix arguments * Add cubic optimised solver * Pep * Special treatment for circulant * Add periodic test * Correct type * Pep * Add transpose solve * [CODACY] unused variables * Correct condition * Remove print * Remove slow circulant * Use lapack for dense solve * Optimise periodic case * contiguous and fix transpose * Remove dead code. Fix transpose * Unused import * Revert matrix changes to return to fastest settings * Pep * Remove dead code * Unused imports * Place mpi4py before h5py * Avoid new h5py * Try for 3.7 * Update versions * Requirementes * Install tricky package on command line * Correct command * Revert change * Test alternative versions * Revert changes. Try for earlier hdf5 * Try no build isolation * Put in requirements * Correct command * Install numpy earlier * Missing package * MPI4PY too * Remove unnecessary restriction
- Loading branch information
1 parent
a8562e3
commit a5eef6e
Showing
39 changed files
with
6,694 additions
and
860 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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.