Re: [Libmesh-users] Difference between query_elem and elem

2015-04-23 Thread Harshad Sahasrabudhe
Okay. Here's what I'm trying to do overall: I have 2 meshes, 1 for Poisson and 1 for Schrodinger. The Poisson mesh is over a big domain, and Schrodinger mesh lies only in a small region inside it. I locate Poisson quadrature points inside Schrodinger mesh, because that's where I need to evaluate

Re: [Libmesh-users] Difference between query_elem and elem

2015-04-23 Thread John Peterson
On Thu, Apr 23, 2015 at 3:59 PM, Harshad Sahasrabudhe wrote: > Is the dof numbering changed after an allgather or delete_remote_elements > is done on a ParallelMesh? > I don't think it would be in principle. allgather just makes the parallel mesh available on all processors while delete_remote_

Re: [Libmesh-users] Difference between query_elem and elem

2015-04-23 Thread Harshad Sahasrabudhe
Is the dof numbering changed after an allgather or delete_remote_elements is done on a ParallelMesh? On Thu, Apr 23, 2015 at 4:40 PM, John Peterson wrote: > > > On Thu, Apr 23, 2015 at 2:29 PM, Harshad Sahasrabudhe > wrote: > >> Hi, >> >> I'm using ParallelMesh to parallelize a mesh. Before sta

Re: [Libmesh-users] Difference between query_elem and elem

2015-04-23 Thread John Peterson
On Thu, Apr 23, 2015 at 2:29 PM, Harshad Sahasrabudhe wrote: > Hi, > > I'm using ParallelMesh to parallelize a mesh. Before starting the > computation, I get some element IDs for elements which have to be ghosted. > How do I get the elements from these IDs? Should I use query_elem or elem? > The

[Libmesh-users] Difference between query_elem and elem

2015-04-23 Thread Harshad Sahasrabudhe
Hi, I'm using ParallelMesh to parallelize a mesh. Before starting the computation, I get some element IDs for elements which have to be ghosted. How do I get the elements from these IDs? Should I use query_elem or elem? Also, is the dof numbering different in SerialMesh and ParallelMesh? I ran my