Re: [deal.II] Catching exception for find_active_cell_around_point?

2016-08-17 Thread Alex Zimmerman
That was indeed my problem. Silly mistake. This is why we use IDE's before posting to the mailing list. Also an FYI for anyone who stumbles upon this conversation with myself: I extended Function instead, adding a FEFieldFunction as a member. On Wednesday, August 17, 2016 at 2:08:57 PM UTC+2,

Re: [deal.II] Catching exception for find_active_cell_around_point?

2016-08-17 Thread Alex Zimmerman
I just stepped through my program with qtcreator and I found a mistake that undermines my question. I thought I was using this extrapolated_value method, but I was still using the parent class's value method. I imagine that this will work once I fix that mistake. I'll update this thread if I ma

Re: [deal.II] Catching exception for find_active_cell_around_point?

2016-08-17 Thread Alex Zimmerman
I left out something important: I'm on a 8.5.0-pre version. (I don't see a way to edit my post.) On Wednesday, August 17, 2016 at 12:18:30 PM UTC+2, Alex Zimmerman wrote: > > I'm new to deal.II and I'm having a similar problem. I'm trying to extend > the FEFieldFunction class with an extrapolat

Re: [deal.II] Catching exception for find_active_cell_around_point?

2016-08-17 Thread Alex Zimmerman
I'm new to deal.II and I'm having a similar problem. I'm trying to extend the FEFieldFunction class with an extrapolated_value method that handles this exception. Here's the relevant method: template double ExtrapolatedField:: extrapolated_value(const Point &point,