On Wed, Jun 27, 2012 at 1:44 PM, Andrew E Slaughter <
[email protected]> wrote:

> I was playing around with that, but the function still gets called for each
> variable. Essentially, doing the calculations twice or three times in 3D.
> This seems far to inefficient. Is there no way around this?
>

Internally, libMesh is calling the component method of AnalyticFunction. It
is virtual, so you can overload it to not compute the whole vector each
time.

HTH,

Paul
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to