[Mesa-users] Add insist options to my code
Evan Bauer
ebauer at physics.ucsb.edu
Mon Jul 15 22:34:00 EDT 2019
Hi Joe,
It sounds like you’re looking for these:
extra params as a convenience for developing new features note: the parameter num_x_ctrls is defined in star_def.inc
x_ctrl(1:num_x_ctrls) = 0d0
x_integer_ctrl(1:num_x_ctrls) = 0
x_logical_ctrl(1:num_x_ctrls) = .false.
You can assign values to those in your inlists and then access them in fortran code in run_star_extras.f with the star pointer,
e.g. “s% x_ctrl(1)”.
Cheers,
Evan
> On Jul 15, 2019, at 7:01 PM, Joe Hellmers via Mesa-users <mesa-users at lists.mesastar.org> wrote:
>
> Hello MESA peoples!
>
> I’m experimenting with adding some Fortran code, and I’d like to make so conditional logic based on an inlist entry to I create.
>
> Are there directions for doing this?
>
> Joe Hellmers
>
> _______________________________________________
> 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/20190715/b79a5a64/attachment-0001.html>
More information about the Mesa-users
mailing list