[mesa-users] Barring reactions from adaptive net

amber lauer alauer1 at lsu.edu
Thu Aug 3 23:13:48 EDT 2017


Thanks guys, I'll try Evan's solution first since it seems easiest.

On Jul 31, 2017 10:55 AM, "Evan Bauer" <ebauer at physics.ucsb.edu> wrote:

> 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> 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
>> _______________________________________________
>> mesa-users mailing list
>> mesa-users at lists.sourceforge.net
>> 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/20170803/0c0d6b2b/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