[mesa-users] Barring reactions from adaptive net
Evan Bauer
ebauer at physics.ucsb.edu
Mon Jul 31 11:55:43 EDT 2017
Is it necessary to do this in run_star_extras? I seem to recall using the following star_job options to do something like this once.
!### num_special_rate_factors
!### reaction_for_special_factor
!### special_rate_factor
! For using other special rate factors.
! `num_special_rate_factors` must be <= `max_num_special_rate_factors`.
num_special_rate_factors = 1
reaction_for_special_factor(1) = ’name_of_reaction'
special_rate_factor(1) = 0
That should effectively turn off the reaction and accomplish what I think Amber is looking for.
Cheers,
Evan
> On Jul 31, 2017, at 7:58 AM, Robert Farmer <rjfarmer at asu.edu> wrote:
>
> Hi
> Your best bet i think is to turn the rate off using the rate_factors array.
>
> Something like (untested) in extras_startup
>
> use net_lib
> use net_def
>
> type (Net_General_Info), pointer :: g
>
> do i=1,g% num_reactions
> if(trim(reaction_Name(g% reaction_id(i)))==trim('YOUR_REACTION_HERE')) then
> s%rate_factors(i)=0d0
> end if
> end do
>
> s%rate_factors is an array with a multiplier for each rate in use, so by setting to 0 we turn the rate off.
>
> Rob
>
>
> On Mon, Jul 31, 2017 at 3:47 PM, amber lauer <alauer1 at lsu.edu <mailto:alauer1 at lsu.edu>> wrote:
> Is there a way to use the adaptive net but eliminate a specific reaction? If not, I'm thinking an alternative would be to just set the rate of said reaction to 0, or, barring that as well, could such a thing be done using a hook?
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot <http://sdm.link/slashdot>
> _______________________________________________
> 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 <https://lists.sourceforge.net/lists/listinfo/mesa-users>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
> mesa-users mailing list
> 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/20170731/2eb569e2/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
-------------- next part --------------
_______________________________________________
mesa-users mailing list
mesa-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa-users
More information about the Mesa-users
mailing list