Dear Wolfgang,

Thanks for your prompt response. While trying to create a minimal example, 
I actually find that this problem occurs when the code "initialize" a 
function parser multiple times. In other words,

FunctionParser<dim> dummy;
dummy.initialize(arguments); // okay so far
dummy.initialize(different arguments); // error occurs

I do this thing when I call an auxiliary function that takes a function 
handler as an argument. (the function handler here is really a dummy). 
Somehow now it's surprising that I haven't got error from this multiple 
initialization. Is such multiple initialization allowed?

Thanks,
Jinhyun


On Monday, October 3, 2016 at 11:41:49 AM UTC-4, Wolfgang Bangerth wrote:
>
>
> Jinhyun, 
>
> > I just installed deal.II 8.4.1 in Ubuntu 16.04, and get an error from 
> > FunctionParser that I don't face in macOS (in macOS I use the compiled 
> version 
> > downloaded from the website). I haven't also seen this error when I used 
> the 
> > same code with deal.II 8.1 installed in Ubuntu 14.04. 
> > 
> > Below I copy the exception message. It seems that the problem relates to 
> the 
> > size of input and stems from deal.II itself. Any help would be 
> appreciated! 
> > 
> > An error occurred in line <225> of file 
> > </.../dealii-8.4.1/source/base/function_parser.cc> in function 
> >     void dealii::FunctionParser<dim>::init_muparser() const [with int 
> dim = 3] 
> > The violated condition was: 
> >     fp.get().size()==0 
> > The name and call sequence of the exception was: 
> >     ExcInternalError() 
>
> This is interesting :-( Can you try to create a minimal testcase that 
> demonstrates the problem? 
>
> Best 
>   Wolfgang 
>
> -- 
> ------------------------------------------------------------------------ 
> Wolfgang Bangerth          email:                 [email protected] 
> <javascript:> 
>                             www: http://www.math.colostate.edu/~bangerth/ 
>
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to