On Thu, May 17, 2018 at 2:58 PM, Viviana Palacio Betancur <
vpalac...@uchicago.edu> wrote:

> Hello,
>
> Currently I'm working on calculating surface normals for a 3D mesh. The way
> I have set up this is by extracting the surface mesh by using
> mesh->get_boundary_info().sync(mesh_surf);
> This gives me a 2D mesh that I can use for calculating element normals.
> However, I haven't been able to establish the connection between the
> element ids of the surface mesh to the ids of the original mesh.
>

The elements in mesh_surf will have an interior_parent() which points to
the higher-dimensional element they came from.


-- 
John
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to