Hi

I am trying to extract all degrees of freedom which are at the boundary and 
belong to specified components using DoFTools::extract_boundary_dofs() 
function and IndexSet for a parallel distributed triangulation. Now, how I 
can iterate over the IndexSet and how I can access to the Dof index in it?

Something like this:

    dealii::IndexSet::ElementIterator     index = in_set.begin(),     endind 
= in_set.end();

    for (; index!=endind; ++index)
    {
    how to access to dof index here?
    }

Thank you



On Saturday, April 2, 2016 at 11:09:51 PM UTC+4:30, bangerth wrote:
>
> On 04/02/2016 08:07 AM, Jean-Paul Pelteret wrote: 
> > You can get the support points associated with the vertices using the 
> > following method: 
> > 
> > | 
> > cell->vertex_dof_index(vertex,component) 
> > | 
> > 
> > If you search for this function in the Google groups then you can find 
> some 
> > examples of how others have used it. 
>
> In addition, there are the two DoFTools::extract_boundary_dofs() 
> functions: 
>
>
> https://www.dealii.org/8.4.0/doxygen/deal.II/namespaceDoFTools.html#a86d1b6b9571b70286f536f150ee9cb9b
>  
>
> Best 
>   W. 
>
> -- 
> ------------------------------------------------------------------------ 
> Wolfgang Bangerth               email:            [email protected] 
> <javascript:> 
>                                  www: http://www.math.tamu.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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to