Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions astero/test_suite/astero_adipls/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.. _astero_adipls:

*************
astero_adipls
*************

.. tags:: astero, asteroseismology, adipls, frequency-matching, seismic-constraints, low-mass, main-sequence

This test demonstrates using the ``astero`` module to call ADIPLS
during the evolution of a 1.2 |Msun|, Z=0.02 model based on the
``HD49385`` setup.

The test sets ``oscillation_code = 'adipls'`` and uses
``run_star_extras`` to sample mode frequencies during the run. At the
end of the evolution it compares a selected mode frequency with the
target value stored in ``x_ctrl(1)``.

How this test passes
====================

The active test-suite entry expects the output string ``got ok match
for expected frequency`` and checks the final saved model ``final.mod``.
If ADIPLS is not enabled, the extras routine intentionally emits a
matching skip-style message.
23 changes: 23 additions & 0 deletions astero/test_suite/astero_gyre/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.. _astero_gyre:

***********
astero_gyre
***********

.. tags:: astero, asteroseismology, gyre, frequency-matching, seismic-constraints, low-mass, main-sequence

This test demonstrates using the ``astero`` module to call GYRE during
the evolution of a 1.2 |Msun|, Z=0.02 model based on the ``HD49385``
setup.

The test sets ``oscillation_code = 'gyre'`` and uses
``run_star_extras`` to sample mode frequencies during the run. At the
end of the evolution it compares a selected mode frequency with the
target value stored in ``x_ctrl(1)``.

How this test passes
====================

The active test-suite entry expects the output string ``got ok match
for expected frequency``. If GYRE is not enabled, the extras routine
intentionally emits a matching skip-style message.
2 changes: 2 additions & 0 deletions astero/test_suite/example_astero/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
example_astero
**************

.. tags:: astero, optimization, asteroseismology, frequency-matching, seismic-constraints, spectroscopic-constraints, chi-squared

An example optimisation run of the ``astero`` module, based on the
CoRoT target HD 49385. This is the usual starting point if you want
to optimise model parameters using the ``astero`` module. This test
Expand Down
2 changes: 2 additions & 0 deletions astero/test_suite/fast_from_file/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
fast_from_file
**************

.. tags:: astero, optimization, file-input, from-file-search, synthetic-data, chi-squared, custom-parameters, semiconvection, thermohaline, low-mass, element-diffusion, gravitational-settling

Runs first few steps of the ``'from_file'`` search, which reads input
values from a data file and computes |chi^2| for each, based on some
synthetic data. This test exists only to increase test coverage of
Expand Down
2 changes: 2 additions & 0 deletions astero/test_suite/fast_newuoa/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
fast_newuoa
***********

.. tags:: astero, optimization, newuoa, synthetic-data, chi-squared, custom-variables, solar-calibration, low-mass, element-diffusion

Runs first few steps of a NEWUOA optimisation for some synthetic data.
This test exists only to increase test coverage of the routines
involved in a NEWUOA optimisation (some of which is used by other
Expand Down
2 changes: 2 additions & 0 deletions astero/test_suite/fast_scan_grid/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
fast_scan_grid
**************

.. tags:: astero, optimization, grid-search, synthetic-data, chi-squared, low-mass

Runs first few steps of a grid search for some synthetic data.
This test exists only to increase test coverage of the routines
involved in a grid search (some of which is used by other
Expand Down
2 changes: 2 additions & 0 deletions astero/test_suite/fast_simplex/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
fast_simplex
************

.. tags:: astero, optimization, simplex, synthetic-data, chi-squared, low-mass

Runs first few steps of a simplex optimisation for some synthetic data.
This test exists only to increase test coverage of the routines
involved in a simplex optimisation (some of which is used by other
Expand Down
2 changes: 2 additions & 0 deletions astero/test_suite/surface_effects/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
surface_effects
***************

.. tags:: astero, asteroseismology, surface-corrections, frequency-matching, solar-model, helioseismology, adipls

Tests the implementation of the various surface effect corrections
available in MESA using the output model from
``simplex_solar_calibration``. First, it adds a surface effect
Expand Down
22 changes: 22 additions & 0 deletions binary/test_suite/double_bh/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.. _double_bh:

*********
double_bh
*********

.. tags:: binary, binary-evolution, massive-star, black-hole, black-hole-binary, chemically-homogeneous-evolution, rotation, mass-transfer, roche-lobe-overflow, tidal-synchronization, contact-binary, point-mass, helium-depletion

This test evolves a close binary with initially massive stars toward a
double black-hole configuration through chemically homogeneous
evolution.

The case evolves both stars, enables tidal synchronization and mass
transfer, and turns a component into a point mass after helium
depletion. The test terminates after the other component also reaches
helium depletion.

How this test passes
====================

The active test-suite entry expects the output string ``Terminate due
to helium depletion`` and checks the final saved model ``final.mod``.
3 changes: 2 additions & 1 deletion binary/test_suite/evolve_both_stars/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
evolve_both_stars
*****************

.. tags:: binary, binary-evolution, dual-star-evolution, mass-transfer, roche-lobe-overflow, low-mass, main-sequence

This test case checks the evolution of two stars simultaneously including mass transfer.

This test case has 1 part. Click to see a larger version of a plot.
Expand Down Expand Up @@ -277,4 +279,3 @@ pgstar commands used for the star2 plot above:
/ ! end of pgstar namelist

Last-Updated: 11Jul2021 (MESA 094ff71) by fxt.

3 changes: 2 additions & 1 deletion binary/test_suite/jdot_gr_check/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
jdot_gr_check
*************

.. tags:: binary, angular-momentum, orbital-angular-momentum, gravitational-waves, analytic-check, roche-lobe-overflow, point-mass, low-mass

This test case verifies that the orbital evolution due to GW emission follows the
analytical result of `Peters (1964) <https://ui.adsabs.harvard.edu/abs/1964PhRv..136.1224P>`_.

Expand Down Expand Up @@ -203,4 +205,3 @@ pgstar commands used for the plot above:
/ ! end of pgstar namelist

Last-Updated: 12Jul2021 (MESA 094ff71) by fxt.

3 changes: 2 additions & 1 deletion binary/test_suite/jdot_ls_check/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
jdot_ls_check
*************

.. tags:: binary, angular-momentum, orbital-angular-momentum, tides, tidal-synchronization, conservation, point-mass, low-mass

This test case verifies that models with tidal evolution conserve angular momentum.

This test case has 1 part. Click to see a larger version of a plot.
Expand Down Expand Up @@ -194,4 +196,3 @@ pgstar commands used for the plot above:


Last-Updated: 15Jul2021 (MESA 094ff71) by fxt.

3 changes: 2 additions & 1 deletion binary/test_suite/jdot_ml_check/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
jdot_ml_check
*************

.. tags:: binary, angular-momentum, orbital-angular-momentum, mass-loss, mass-transfer, roche-lobe-overflow, analytic-check, point-mass, low-mass

This test case checks the evolution of one star plus a point mass, including mass transfer to the point mass.
Using pre-specified efficiency options, verifies that the binary evolution, including mass transfer to the point mass,
follows the analytical result of `Tauris & van den Heuvel (2006)
Expand Down Expand Up @@ -240,4 +242,3 @@ pgstar commands used for the binary and star1 plots above:
/ ! end of pgstar namelist

Last-Updated: 12Jul2021 (MESA 094ff71) by fxt.

3 changes: 2 additions & 1 deletion binary/test_suite/star_plus_point_mass/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
star_plus_point_mass
********************

.. tags:: binary, mass-transfer, roche-lobe-overflow, point-mass, eddington, intermediate-mass, main-sequence

This test case checks the evolution of one star plus a point mass, including mass transfer to the point mass.

This test case has 1 part. Click to see a larger version of a plot.
Expand Down Expand Up @@ -127,4 +129,3 @@ pgstar commands used for the plots above:


Last-Updated: 10Jul2021 (MESA 094ff71) by fxt.

Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
star_plus_point_mass_explicit_mdot
**********************************

.. tags:: binary, mass-transfer, explicit-mdot, roche-lobe-overflow, point-mass, eddington, intermediate-mass, main-sequence

This test case checks the evolution of one star plus a point mass, including mass transfer to the point mass, using an explicit calculation for the mass transfer rate.

This test case has 1 part. Click to see a larger version of a plot.
Expand Down Expand Up @@ -126,4 +128,3 @@ pgstar commands used for the plots above:


Last-Updated: 10Jul2021 (MESA 094ff71) by fxt.

22 changes: 22 additions & 0 deletions binary/test_suite/wind_fed_bhhmxb/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.. _wind_fed_bhhmxb:

****************
wind_fed_bhhmxb
****************

.. tags:: binary, binary-evolution, high-mass-x-ray-binary, massive-star, black-hole, black-hole-accretion, wind-accretion, stellar-winds, mass-loss, eddington, mass-transfer, roche-lobe-overflow

This test evolves a wind-fed high-mass X-ray binary with a massive
donor and a black-hole companion.

The case checks wind accretion and Roche-lobe overflow while limiting
black-hole accretion at the Eddington rate. The binary extras verify
both sub-Eddington and super-Eddington phases and check the associated
mass-loss bookkeeping.

How this test passes
====================

The active test-suite entry expects the output string ``Properly
tested sub and super Eddington phases`` and checks the final saved
model ``final.mod``.
Loading