From: amber l. <al...@ls...> - 2017-08-04 03:47:22
|
Thanks guys, I'll try Evan's solution first since it seems easiest. On Jul 31, 2017 10:55 AM, "Evan Bauer" <eb...@ph...> 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 <rjf...@as...> 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 <al...@ls...> 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 >> mes...@li... >> 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 > mes...@li... > https://lists.sourceforge.net/lists/listinfo/mesa-users > > > |