[mesa-users] lnd_offset
Matthew Clayton
matthew.clayton at exeter.ox.ac.uk
Thu Sep 22 13:00:34 EDT 2016
Hi Bill,
Thanks for sorting that out.
Cheers,
Matthew
________________________________
From: Bill Paxton [paxton at kitp.ucsb.edu]
Sent: 22 September 2016 17:44
To: Matthew Clayton
Cc: mesa-users at lists.sourceforge.net
Subject: Re: [mesa-users] lnd_offset
Hi Matthew,
This is yet another example of why comments in code are a bad thing. ;)
The relic mention of "lnd_offset" is a left over from a brief unproductive episode long ago.
As you discovered, there is no "lnd_offset" in the current system, just a bogus comment.
I'll go delete that now -- perhaps I should just delete all comments?
Cheers,
Bill
On Sep 22, 2016, at 7:27 AM, Matthew Clayton wrote:
Hi there,
I'm using structure variables from s%xh(index, cell_number). The indices for this array are first defined in star/public/star_data.inc which defines the density index as
integer :: i_lnd ! ln(cell density average by mass) + lnd_offset to keep value > 1
which implies that any values I get from s%xh( s%i_lnd, cell_number) will be offset by this value lnd_offset. A quick grep of the mesa directory doesn't turn up any other references to lnd_offset. Is this actually in use? If so, how do I find out what it is?
Cheers,
Matthew
------------------------------------------------------------------------------
_______________________________________________
mesa-users mailing list
mesa-users at lists.sourceforge.net<mailto:mesa-users at lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mesa-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20160922/26ee5473/attachment.html>
More information about the Mesa-users
mailing list