sxs-collaboration / spectre

SpECTRE is a code for multi-scale, multi-physics problems in astrophysics and gravitational physics.
https://spectre-code.org
Other
154 stars 187 forks source link

Add perturbation option to MagnetizedTovStar #6016

Open shabibti opened 1 month ago

shabibti commented 1 month ago

Proposed changes

Adds a Perturbation input option to MagnetizedTovStar for the size of an initial radially symmetric perturbation applied to spatial_velocity in the interior star region. This is potentially useful for convergence testing/measuring oscillation modes in a high resolution run.

Code review checklist

Further comments

I could use feedback over what tests would be useful to add and whether there's a better formulation to use.