On Fri, Apr 3, 2009 at 3:43 PM, Derek Gaston <[email protected]> wrote:
> On Apr 3, 2009, at 2:43 PM, John Peterson wrote:
>
>> It should recompute stuff during reinit that you wouldn't otherwise
>> want to recompute.
>
> But only if I asked for it by calling get_d2phi() or associated beforehand,
> right?
Unfortunately, no (fe.C, line 236)
// If the user forgot to request anything, we'll be safe and
// calculate everything:
#ifdef LIBMESH_ENABLE_SECOND_DERIVATIVES
if (!calculate_phi && !calculate_dphi && !calculate_d2phi)
calculate_phi = calculate_dphi = calculate_d2phi = true;
#else
if (!calculate_phi && !calculate_dphi)
calculate_phi = calculate_dphi = true;
#endif // LIBMESH_ENABLE_SECOND_DERIVATIVES
--
John
------------------------------------------------------------------------------
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users