On Tue, May 5, 2015 at 2:27 PM, David Knezevic <david.kneze...@akselos.com>
wrote:

> On Tue, May 5, 2015 at 4:24 PM, Roy Stogner <royst...@ices.utexas.edu>
> wrote:
>
>>
>> On Tue, 5 May 2015, John Peterson wrote:
>>
>>  static_bool is a reasonable fix, but I'd also be OK with just
>>> removing the call to elem->volume() from Elem::print_info().  In
>>> theory, you can always estimate that by knowing the node
>>> locations...
>>>
>>
>> One more alternative: try/catch in elem->volume().  If its internals
>> throw an error, return NaN or something obviously-nonsense for the
>> volume and proceed.
>>
>
>
> Any of these options is fine with me, you guys should decide.
>
> But my one other comment is that in the negative jacobian error message we
> should also specify the point (xyz[p]) at which the error occurred.
>

I'll add the extra printing of xyz[p] and the Elem::volume() try/catch
block later tonight.

-- 
John
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to