Skip to content

Conversation

@glesur
Copy link
Contributor

@glesur glesur commented Oct 4, 2024

Historically, Idefix has always required the user to specify the Grid and the boundary conditions in the 3 spatial directions regardless of the DIMENSIONS parameters. This has led to confusions a number of times for newcomers, since this is actually never used in practice.

This PR attempts at fixing this: we no longer require the Grid and Boundary conditions to be specified in the directions >= DIMENSIONS.

Tests with DIMENSIONS<3 have been adjusted accordingly.

@glesur glesur added the enhancement New feature or request label Oct 4, 2024
glesur added 2 commits October 5, 2024 14:00
polar/cartesian
- center the domain in 0 for the unused dimensions
- clean up the fargoplanet test
@glesur glesur merged commit 9d92bfe into develop Oct 13, 2024
@glesur glesur deleted the improve2D branch October 13, 2024 08:16
@glesur glesur mentioned this pull request Oct 23, 2024
glesur added a commit that referenced this pull request Oct 24, 2024
## [2.1.02] 2024-10-24
### Changed

- Fix a bug that could lead to corrupted VTK file when using single precision arithmetic (#255)
- Fix a bug that could lead to incorrect central mass gravitational potential upon restart (#287)
- Changed the way magnetic field is reconstructed when using grid coarsening to reduce roundoff errors on div(B). This can have an impact on the results of models using grid coarsening+MHD (#284)
- Ensure that XDMF outputs are precision agnostic (#261)
- Bump up Kokkos version to 4.4.01 (#289)
- Check that writes are successfull in serial, otherwise throw an error (#260)
- Ensure that shock flattening flags can be modified by user (#260)
- Throw an error when user enables Fargo without enough DIMENSIONS (#250)
- Fix linting errors following upgrade to cpplint 2.0 (#278, #279, #281)
- Update idfx_io to numpy 2.0 (#283)

### Added

- Allow the user to define the grid and boundary conditions only on active dimensions (#274)
- Configuration for Nvidia H100 on Jean Zay in the documentation
---------

Co-authored-by: Nicolas Aunai <nicolas.aunai@lpp.polytechnique.fr>
Co-authored-by: vdbma <93188557+vdbma@users.noreply.github.com>
Co-authored-by: Marc Van den Bossche <marc.vanden-bossche@univ-grenoble-alpes.fr>
Co-authored-by: Alankar Dutta <dutta.alankar@gmail.com>
Co-authored-by: Alankar Dutta <alankard@MB-167.local>
Co-authored-by: ThomasJannaudCAM <159052976+ThomasJannaudCAM@users.noreply.github.com>
Co-authored-by: Clément Robert <cr52@protonmail.com>
Co-authored-by: marc <vandenbossche.marc@hotmail.com>
Co-authored-by: Antonin Borderies <89980449+Anto6453@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants