[aspect-devel] cryptic error in particle generation

FELIPE ORELLANA ROVIROSA f_orellana at berkeley.edu
Mon Jun 11 16:31:33 PDT 2018


 Hi Bart,

     I hope you can figure out what's wrong.

     Personally, I succeed using a file with the particles' positions,
which I generate on my own, at my will, then I load it into the prm.

     Let me know if in the end you prefer to proceed this way.

Felipe

On Mon, Jun 11, 2018 at 3:35 PM, Bart Niday <wniday at uoregon.edu> wrote:

> Hi all,
>
> I’m trying to use the particle probability density function to generate a
> random uniform distribution over part of the model domain, but I’ve been
> running into this error:
>
> Number of active cells: 16 (on 3 levels)
> Number of degrees of freedom: 268 (162+25+81)
>
> Assertion failed: (min_arg < max_arg), function uniform_real_distribution,
> file /Applications/deal.II-8.5-brew.app/Contents/Resources/
> brew/include/boost/random/uniform_real_distribution.hpp, line 159.
>
> The attached parameter file replicates the problem, at least for me. If I
> change the probability density function from if(y>0.5,1,0) to
> if(x>0.5,1,0), it works normally. Changing y>0.5 to a different number,
> sometimes it crashes and sometimes it works. The problem also happens on my
> desktop, but not on my university cluster (running a slightly different
> version of Aspect, but the particle code is unchanged).
>
> Any clues as to what this might be? Does anyone else see the same problem
> running the attached file?
>
> Thanks,
>
>
>
> - Bart Niday
> Ph.D. Student
> Department of Earth Sciences, University of Oregon
>
> _______________________________________________
> Aspect-devel mailing list
> Aspect-devel at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20180611/67c84d31/attachment.html>


More information about the Aspect-devel mailing list