[Mesa-users] other_wind

Croxmor Moraga rodrigo.moraga.merino at gmail.com
Sat Oct 19 22:00:33 EDT 2019


I included the command you gave me, but that only gave me another
compilation error, the error now appears when I declare other variables I
use: as it can be seen here:
Do I have to change the declarations that I was using until now, or don't
use it at all?
Thanks for your consideration.

El sáb., 19 oct. 2019 a las 22:06, Croxmor Moraga (<
rodrigo.moraga.merino at gmail.com>) escribió:

> Thanks, I'll check it out.  The idea is that loggsol is a constant defined
> in const.f90
>
> El jue., 17 oct. 2019 a las 16:42, Aaron Dotter (<aaron.dotter at gmail.com>)
> escribió:
>
>> In order to access variables stored in the star derived type (s), you
>> have to do this:
>>
>>  call star_ptr(id, s, ierr)
>>
>> at the top of your other_ routine.  See
>>
>> http://mesa.sourceforge.net/run_star_extras.html#activate-run_star_extrasf
>>
>> for more information about how to do this.  I would also point out that I
>> couldn't find anywhere that you set a value to "loggsol" so it's being used
>> without being set.
>>
>>
>> Aaron
>>
>>
>> On Thu, Oct 17, 2019 at 3:37 PM Croxmor Moraga <
>> rodrigo.moraga.merino at gmail.com> wrote:
>>
>>> Here it is. My bad.
>>>
>>> El jue., 17 oct. 2019 a las 16:33, Aaron Dotter (<aaron.dotter at gmail.com>)
>>> escribió:
>>>
>>>> (I have attached my run_star_extras.f and the inlist mentioned before.
>>>>> On MESA version: )
>>>>>
>>>>
>>>> There is no run_star_extras.f attached.
>>>>
>>>>
>>>>
>>>>
>>>>>
>>>>> El mié., 16 oct. 2019 a las 0:01, Josiah Schwab (<jwschwab at ucsc.edu>)
>>>>> escribió:
>>>>>
>>>>>> Hi Croxmor,
>>>>>>
>>>>>> > But when I saw the other_wind.f90 code file, it didn't give me an
>>>>>> example
>>>>>> > of how to add a new wind scheme to the cool_wind_rgb; the only
>>>>>> thing I want
>>>>>> > to do, is to replace the original wind equation of one of the
>>>>>> default
>>>>>> > schemes, and use another version of that one.
>>>>>> > So my problem is, from all the different routines and subroutines
>>>>>> defined
>>>>>> > en wind.f90; which one should I take and put in my run_star_extra
>>>>>> file as a
>>>>>> > subroutine?
>>>>>> > When I only want to add a new scheme for the cool_wind_rgb without
>>>>>> changing
>>>>>> > anything else?
>>>>>> > Here I attached the wind.f90 file for faster revision.
>>>>>>
>>>>>> I believe you can provide your other routine in run_star_extras and
>>>>>> then set
>>>>>>
>>>>>>   cool_wind_RGB_scheme = 'other'
>>>>>>
>>>>>> to only apply it in that case.
>>>>>>
>>>>>> Josiah
>>>>>>
>>>>> _______________________________________________
>>>>> mesa-users at lists.mesastar.org
>>>>> https://lists.mesastar.org/mailman/listinfo/mesa-users
>>>>>
>>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20191019/aaf124dc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Captura de pantalla de 2019-10-19 22-58-18.png
Type: image/png
Size: 239276 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20191019/aaf124dc/attachment-0001.png>


More information about the Mesa-users mailing list