"Does not compute" is right in general.  DoFs don't have locations,
they have functionals, and it's only in the Lagrange case that those
functions are delta functions at particular locations.  You were
asking me about adaptive p refinement recently, and one thing I forgot
to mention is that libMesh adaptive p refinement *doesn't work* with
Lagrange FE, so if that's where you're headed then you'll want to make
sure you have Hierarchic-FE-compatible code from the start.

If you're trying to visualize the output of sensitivities to spatially
distributed parameters, my suggestion is to zero out the solution
vector (or swap it with a zero'ed clone if you want to save the
original), then set the sensititivity values into the vector at each
dof index, then send the output to Exodus or GMV.  That way you'll get
correct output regardless of FE type.
---
Roy

On Thu, 12 Feb 2015, Derek Gaston wrote:

> That question doesn't compute.  Do you mean get the xyz position of the
> node associated with a Lagrange DoF?

> On Wed Feb 11 2015 at 8:25:57 PM EST Vikram Garg <[email protected]>
> wrote:
>
>> Can someone tell me how one can obtain the xyz coordinates corresponding to
>> a global dof id ?

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to