Skip to content

Commit

Permalink
Add proper temperatures for WC and WN stars
Browse files Browse the repository at this point in the history
Partially closes CelestiaProject#901, adding WNh is a bit of an hassle for me.
  • Loading branch information
GurrenLagannTSS authored Feb 5, 2021
1 parent 5360a16 commit 34ca7d9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/celengine/star.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,15 @@ static float tempM[3][10] =
{ 3650, 3550, 3450, 3200, 2980, 2800, 2600, 2600, 2600, 2600 },
};

// Wolf-Rayet temperatures. From Lang's Astrophysical Data: Planets and
// Stars.
// Wolf-Rayet temperatures.
static float tempWN[10] =
{
50000, 50000, 50000, 50000, 47000, 43000, 39000, 32000, 29000, 29000
185000, 158000, 140000, 115000, 89000, 75000, 65000, 56000, 50000, 45000
};

static float tempWC[10] =
{
60000, 60000, 60000, 60000, 60000, 60000, 60000, 54000, 46000, 38000
225000, 190000, 165000, 140000, 125000, 105000, 83000, 70000, 60000, 50000
};

// These values are based on extrapolation of 6 samples.
Expand Down

0 comments on commit 34ca7d9

Please sign in to comment.