On Tue, Sep 22, 2015 at 6:52 PM, Zhang <zyzh...@nuaa.edu.cn> wrote:

> Hi,
>
> In class Mesh::active_local_elements_begin() can be used for traversing all
>
> elements.
>
> I wonder if it is possible to get an iterator to the local active edges or
> faces?
>
> It may be more efficient in cases like DG flux computaion.
>

It's not currently possible to iterate (efficiently) over edges because
they are not stored in the Mesh the way that elements and nodes are.

You could possibly build up an edge-based data structure as a
"pre-processing" step, but it may be a bit more tricky to do the assembly
in this case.

--
John
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to