Skip to content

Commit

Permalink
Merge branch 'mjoyce_starspots' of github.com:MESAHub/mesa into mjoyc…
Browse files Browse the repository at this point in the history
…e_starspots
  • Loading branch information
pmocz committed Aug 9, 2024
2 parents d8987c3 + 768b44e commit 3dec468
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
9 changes: 5 additions & 4 deletions star/defaults/controls.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -4645,7 +4645,7 @@

! If ``.true.``, switch on impedence of the surface flux due to magnetic pressure from starspots,
! parameterized in the style of an atmospheric boundary modification. First described by
! `Somers et al. (2015; ApJ) <https://ui.adsabs.harvard.edu/abs/2015ApJ...807..174S>`__.
! Somers et al. (2015; ApJ) <https://ui.adsabs.harvard.edu/abs/2015ApJ...807..174S .
! Detailed discussion of this functionality can be found in |MESA VI|.

! ::
Expand All @@ -4656,8 +4656,7 @@
! fspot
! ~~~~~

! Filling Factor of starspots (in [0,1])

! Filling Factor of starspots. Valid values between 0.0 and 1.0 (no spots to 100% coverage)
! ::

fspot = 0d0
Expand All @@ -4666,7 +4665,9 @@
! xspot
! ~~~~~

! Temperature contrast between the spotted and unspotted regions (in [0,1])
! Temperature contrast between the spotted and unspotted regions.
! Valid values are between 1.0 (no contribution from magnetic pressure) and 0.5
! (half of the total pressure is due to magnetic pressure)

! ::

Expand Down
3 changes: 2 additions & 1 deletion star/private/starspots.f90
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ module starspots
contains

! -------------
! YREC routines
! parameterized YREC routines
! MESA models a pressure contrast rather than temperature contrast
! -------------

subroutine starspot_tweak_gradr(s, P, gradr, gradr_spot)
Expand Down
2 changes: 1 addition & 1 deletion star/test_suite/starspots/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ A plot of the HR diagram for the problem is included below:
:width: 100%


Last-Updated: 06Aug2024 by Meridith Joyce
Last-Updated: 09Aug2024 by Meridith Joyce

Last-Run: 06Aug2024 (MESA 7890d305) by pmocz on C916PXT6XW in 629 seconds using 8 threads.

0 comments on commit 3dec468

Please sign in to comment.