Thank you Professor.

That worked but I am not sure why a reference didn't work but a const. 
reference did.


On Tuesday, November 22, 2016 at 7:31:47 PM UTC-5, Wolfgang Bangerth wrote:
>
>
> Rajat, 
> I don't know the exact cause of the problem, but... 
>
> > Can we pass Triangulation<dim>::face_iterator by reference ? 
> > 
> > I am trying to call the function 
> > 
> > | 
> > template<intdim> 
> > types::boundary_id 
> > Fdm<dim>::get_face_boundary_id(typenameTriangulation<dim>::face_iterator 
> &f_it) 
> > { 
> > 
> > 
> > } 
> > | 
>
> ...you can probably avoid it if you declare the argument of this function 
> as 
> 'const'. 
>
> Best 
>   W. 
>
> -- 
> ------------------------------------------------------------------------ 
> Wolfgang Bangerth          email:                 bang...@colostate.edu 
> <javascript:> 
>                             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