Dear Sudharshan,

Probably you are looking for cell->index(). Am I right?

best
Deepak

On Sun, Nov 13, 2016 at 7:03 PM, Sudarshan Kumar <skkma...@gmail.com> wrote:

>
> typename DoFHandler<dim>::active_cell_
> iterator
>       cell = dof_handler.begin_active(),
>       endc = dof_handler.end();
>
>    for (; cell!=endc; ++cell)
>    { std::cout<<cell->user_index()<<std::endl;
>   }
>
> it just  print only  zero.  i.e    user_index() actually not finding the
> cell index.
>
> Help is appreciated.
>
> --
> 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.
>

-- 
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