Hi,

I'm using ParallelMesh to discretize the Poisson equation. I want to
integrate a certain quantity over each element. That quantity is not
available for all quadrature points of some elements on one process (such
elements are ghosted), so I sum the parts which are available in respective
processes for that particular element and MPI reduce the sum to get the
complete integral.

Now to be able to do this, I have to identify the elements for which the
integral has to be MPI reduced. Can anyone help me with how the element can
be identified? I tried using elem->id() but I get an exception in
DofObject::id(), since the _id == invalid_id.

Thanks,
Harshad
------------------------------------------------------------------------------
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to