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

Precompute extrapolate #201

Closed
wants to merge 431 commits into from
Closed

Precompute extrapolate #201

wants to merge 431 commits into from

Conversation

glesur
Copy link
Contributor

@glesur glesur commented Oct 20, 2023

This PR proposes to pre-compute the intracell reconstruction of primitive variables before running the Riemann solvers, which is probably more efficient on some architectures (but not on others, as the Nvidia Hackathon demonstrated). Eventually, this PR will automatically choose between on-the-fly extrapolation to faces in the Riemann solver Kernel, or pre-compute, depending on the target architecture.

glesur and others added 30 commits March 1, 2023 09:28
Clean up viscosity operators in planet tests which were incorrectly coded, and/or behaving incorrectly
In particular: planetMigration2D was setting alpha=1e-3, but computation was actually performed with alpha=0. For this reason, the values for this test have been recomputed.
ensure that viscosityStatus is in sync with viscosity object.

See merge request discs/idefix!314
emf boundary exchange routines are not needed anymore (because ghost
zones are fully exchanged)
Add back BX1s... fields in dump files even when we're using vector
potential, so that the code can be restarted without vector potentials
RFC: deduplicate ouptut.CheckForWrites for initial conditions

See merge request discs/idefix!315
Add documentation for git LFS

See merge request discs/idefix!318
RFC: split Vtk class into a base and a concrete class

See merge request discs/idefix!316
glesur and others added 18 commits September 12, 2023 20:58
* Braginskii thermal conduction and diffusivity in every dimensions suitable for Idefix v2.0

* braginskii doc

* Braginskii doc done

* [pre-commit.ci lite] apply automatic fixes

---------

Co-authored-by: Geoffroy Lesur <geoffroy.lesur@univ-grenoble-alpes.fr>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
…ing at restart (#192)

* ENH: add CLI flag to force calling Setup::InitFlow ahead of dump reading at restart

* Update commandline.rst

---------

Co-authored-by: Geoffroy Lesur <geoffroy.lesur@univ-grenoble-alpes.fr>
* ENH: define reusable macros for runtime checks

* DOC: add documentation for RUNTIME_CHECK macros
* introduce pre-computation of self-gravity Laplacian operator

* make the iterative solver deriving from a Laplacian functor

* dust mass also contributes to the self-gravitating field
…n grids (#196)

* check whether the grid is regular or not

* slopelimiter construction now pushed during initialisation to allow the
computation of plm coefficients

* Add PLM reconstruction coefficient in non-cartesian grids

* refactor slope limiters

* add Paul Segretain's fix to curvature term in spherical coordinates (no motion in constant pressure setups)

* fix axis flux on which we had a small (but measurable) leek of conserved quantities when in perfect equilibrium
fix tolerance in planet planet case

* update reference for CI/CD
add changelog
fix test suite for -noplot
Co-authored-by: Clément Robert <cr52@protonmail.com>
@glesur glesur changed the base branch from master to v2.0 October 20, 2023 21:08
@glesur glesur changed the base branch from v2.0 to master October 23, 2023 11:14
@glesur glesur closed this Oct 23, 2023
@glesur glesur deleted the precomputeExtrapolate branch October 23, 2023 11:41
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.

4 participants