On Thu, Aug 19, 2010 at 10:45 AM, John Peterson
<[email protected]> wrote:
> On Thu, Aug 19, 2010 at 10:40 AM, Vikram Garg
> <[email protected]> wrote:
>> Andrew,
>>            The point_value and point_gradient functions should do the job.
>> See below for an example of their use. See system.C for the function
>> implementation. These functions currently do not support vectors of points
>> but that should be added. Note that the arguments to the
>> point_value/gradient function are the variable number and Point object.
>>
>> x = number;
>> y = number;
>>
>> Point p(x, y);
>>
>> Number u_p = point_value(0, p);
>> Gradient grad_u_p = point_gradient(0, p);
>
> To be clear, this is a feature of the FEMContext object, itself a part
> of the FEMSystem family of classes.  An example of FEMSystem use is
> ex18, "plain vanilla" libmesh doesn't have these functions.

Ah!  nevermind, Vikram is right, these functions are in the System
class.  I just got confused because point_value is also in the
FEMContext ;-)


-- 
John

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to