Peano
Loading...
Searching...
No Matches
PDE constraints

Off-the-shelf numerical schemes sometimes struggle with numerical relativity.

For example, the Finite Difference schemes have no artificial dissipation, which is often known to help keep a scheme stable. Therefore, ExaGRyPE adds bespoke compute kernels, and most of their additional features can be turned on or off on demand. For example, the snippet below adds Kreiss-Oliger dissipation:

solver.numerical_scheme = exagrype.api.FD4WithKODissipation(solver, patch_size, rk_order=4, kreiss_oliger_sigma=8.0)
solver.numerical_scheme = exagrype.api.FD4WithKODissipation(solver, patch_size, rk_order=4, kreiss_oliger_sigma=8.0, quantities=["lapse", "shift"])
This file is part of the ExaGRyPE project.
This file is part of the ExaGRyPE project.
Definition __init__.py:1
This file is part of the ExaGRyPE project.
Definition __init__.py:1

The tutorials provide worked-out examples.