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
[ ] The code is documented and the documentation renders correctly. Run
make doc to generate the documentation locally into BUILD_DIR/docs/html.
Then open index.html.
[ ] The code follows the stylistic and code quality guidelines listed in the
code review guide.
[ ] The PR lists upgrade instructions and is labeled bugfix or
new feature if appropriate.
Further comments
I could use feedback over what tests would be useful to add and whether there's a better formulation to use.
Proposed changes
Adds a
Perturbation
input option toMagnetizedTovStar
for the size of an initial radially symmetric perturbation applied tospatial_velocity
in the interior star region. This is potentially useful for convergence testing/measuring oscillation modes in a high resolution run.Code review checklist
make doc
to generate the documentation locally intoBUILD_DIR/docs/html
. Then openindex.html
.bugfix
ornew feature
if appropriate.Further comments
I could use feedback over what tests would be useful to add and whether there's a better formulation to use.