mass non-monotonicity

General discussion of all things GYRE-related (e.g., results, talks, ideas, tips)
Post Reply
ehsan
Posts: 88
Joined: Sun Jun 16, 2013 11:31 am

mass non-monotonicity

Post by ehsan » Sat Sep 17, 2016 4:02 pm

Dear Rich,

I am computing a large grid of models, where a very small fraction, yet sizeable in number, of models fail because of a mass non-monotonicity; thus, the following error:

Code: Select all

ASSERT 'ALL(m(2:) >= m(:n-1))' failed at line 514 <gyre_evol_model:evol_model_t_full_>:
Because I cannot go back to MESA to recompute these specific snapshots along the evolution (where the multi-D grid is very large), I was wondering if there is a possibility through inlist to handle such cases?

Kind regards,
Ehsan.

User avatar
rhtownsend
Site Admin
Posts: 397
Joined: Sun Mar 31, 2013 4:22 pm

Re: mass non-monotonicity

Post by rhtownsend » Sat Sep 17, 2016 4:06 pm

Hi Ehsan --

In such cases, you might just want to modify the code so that the mass monotonicity check is commented out. I don't think this will affect execution of the code, as interpolations use radius as the abscissa, not mass.

cheers,

Rich

ehsan
Posts: 88
Joined: Sun Jun 16, 2013 11:31 am

Re: mass non-monotonicity

Post by ehsan » Sat Sep 17, 2016 4:44 pm

Thanks Rich,

It totally works ;-)

Regards,
Ehsan.

raymond
Posts: 1
Joined: Mon Mar 19, 2018 3:49 am

Re: mass non-monotonicity

Post by raymond » Tue Mar 20, 2018 2:05 am

Got it! Thanks.
Are you going to find new info at http://daviscup.club/? I'm gonna do it too. There I can master my skills and be able to play for real money. I'm sure about it.

Post Reply