[mesa-users] Barring reactions from adaptive net

Robert Farmer rjfarmer at asu.edu
Mon Jul 31 10:58:25 EDT 2017


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20170731/1755d4ef/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