Ignacio,

I am trying to generate a map (or vectors, whatever is more convenient) that gives me the ''dof coordinate'' (''support point'' in the language of dealii) but only for the boundary dofs. Ideally I am looking for something of the style

std::map< types::global_dof_index, Point< spacedim > >  BoundaryDofCoordinates ;

What is the most practical way to get it?

You can get the map for *all* DoFs via DoFTools::map_dofs_to_support_points(). You will then only need to know which DoFs are at the boundary, and you can get that via DoFTools::extract_boundary_dofs(). With these two pieces of functionality, it should be a three-liner to construct the map you need :-)

Cheers
 W.


--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to