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

Setup PR tests #5

Open
wants to merge 557 commits into
base: main
Choose a base branch
from
Open

Setup PR tests #5

wants to merge 557 commits into from

Conversation

EmilyBourne
Copy link
Member

No description provided.

tpadioleau and others added 30 commits July 10, 2023 14:20
Add code to generate the docs. Additionally markdown files are added to the new `docs/` folder to provide more context to the development.

Tests are added to the CI to ensure that future code is documented. Tests fail if a file is modified but does not have correct documentation, or if a new file is added to a folder which does not have a `README.md` file.

GitHub action files are updated to use docker more intuitively. An additional action is added to build and push the docs to the documentation branch whenever something is pushed to the main branch of the GitHub repo. This will then be located here:

https://gyselax.github.io/gyselalibxx/
In this PR a stage is added to the documentation compilation to call the script `ci_tools/readme_to_doxygen.py` which converts from GitHub/GitLab markdown syntax to Doxygen syntax. The page tags are generated automatically from the paths and inserted into Markdown references. This makes both the docs and the READMEs legible. It also removes the need for `About.md` which duplicated `README.md`. Additionally sub-sections are now correctly marked which fixes the indexing on the pages generated by Doxygen.
Add analytical invertible mapping class to access to the inverse mapping function and add inverse jacobian matrix in the Curvilinear2DToCartesian class.
Add `constexpr` functions which determine whether the points should be uniform or non-uniform. This allows the type of `IDimX` etc to be determined without the use of the `InterpPoints` class. This type is renamed to `SplineInterpPoints` to reflect the fact that it should be used to initialise the interpolation points when splines are used. When other methods (e.g. Lagrange) are used `IDimX` can be initialised using `ddc::init_discrete_space` with arguments describing the initialisation of the sampling.
Only generate subpage if folder is below referenced page in the hierarchy
Generalise `Quadrature` class to accept N dimensions. Add a helper function `quadrature_coeffs_nd` to return N-D coefficients from 1D functions defining the quadrature along each of the dimensions.
EmilyBourne and others added 20 commits July 11, 2024 15:11
Now that the splines have been migrated to DDC, DDC's tests are quite slow. Gysela is the only place where these tests are run so they should not be removed completely, however currently DDC's tests are slowing down the pipeline dramatically.
The following is an example of the times currently taken by an example pipeline:
- cmake_tests : 13m
- cmake_tests_Release : 16m
- cmake_tests_Release_OMP : 19m
- cmake_tests_Release_GPU : 38m

This PR treats DDC in a similar way to SLL and the Polar Poisson solver and only runs these tests if the contents of the associated folder have been modified

See merge request gysela-developpers/gyselalibxx!561

--------------------------------------------
Closes #270

See merge request gysela-developpers/gyselalibxx!559

--------------------------------------------
Adds realistic calculations for the reactions rates of neutrals for three processes: charge exchange, recombination and ionization.

See merge request gysela-developpers/gyselalibxx!503

--------------------------------------------

Co-authored-by: Emily Bourne <[email protected]>
Co-authored-by: Thomas Padioleau <[email protected]>
Co-authored-by: Baptiste LEGOUIX <[email protected]>
An index is incorrectly named as though it were a discrete dimension

See merge request gysela-developpers/gyselalibxx!560

--------------------------------------------
@EmilyBourne EmilyBourne added Ready to review Label to be automatically added to a PR when it is ready to be reviewed and removed Ready to review Label to be automatically added to a PR when it is ready to be reviewed labels Nov 18, 2024
@EmilyBourne EmilyBourne marked this pull request as ready for review November 18, 2024 17:06
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.

3 participants