[deal.II] p4est has to be configured with enabled zlib support

2017-04-25 Thread Lev Karatun
Hi everyone, I was updating dealII to the latest version and received the error when trying to configure it: " Insufficient p4est installation found! p4est has to be configured with enabled zlib support." I used the p4est-setup.sh script to install it originally (and haven't modified it

Re: [deal.II] How can I resize a std::vector<Functions::ParsedFunction>?

2017-04-25 Thread Alexander Gary Zimmerman
Luca, I finally got around to testing your fix, and now resize works as you said it would :) Thanks! Of course it was really easy to do, but I had moved on with another branch. Sorry for the delay. On Thursday, March 23, 2017 at 4:47:58 PM UTC+1, Luca Heltai wrote: > > Resizing is fine. It is

Re: [deal.II] Refining a hyper_ball with a spherical_manifold produces nan values

2017-04-25 Thread Martin Kronbichler
Dear Alex, you cannot set a SphericalManifold for the innermost part of a hyper_ball because the transformation degenerates for radius=0. You need to restrict the manifold to only the boundary or only the outer part of the hyper_ball. Best, Martin P.S. for future reference, if I have an

[deal.II] Refining a hyper_ball with a spherical_manifold produces nan values

2017-04-25 Thread Alexander Gary Zimmerman
When I refine a Triangulation that has been initialized with GridGenerator::hyper_ball, and has a SphericalManifold attached (and having set_all_manifold_ids on the Triangulation), some nan (not a number) values are produced. On the other hand, I get the expected behavior when instead using a

Re: [deal.II] Re: Indexing a Tensor<2,dim> representing the gradient of a Tensor<1,dim>

2017-04-25 Thread Alexander Gary Zimmerman
It looks like I might have left a loose end here. JP indeed answered my question :) Thanks for all of the help. On Friday, April 7, 2017 at 9:52:21 PM UTC+2, Timo Heister wrote: > > > Just post a question/request and hope for the best ;-) I'm pretty sure > that > > Timo will read this at some