On 7/15/21 2:45 AM, Sylvain Mathonnière wrote:

*typenameDoFHandler<dim>::active_cell_iteratorcell_2 (cell_1->get_triangulation(), cell_1->level(), cell_1->index(), dof_handler_2);*

The compiler error tells you that you need pointers, not references. So this should work:

  typename DoFHandler<dim>::active_cell_iterator
     cell_2 (&cell_1->get_triangulation(), cell_1->level(), cell_1->index(),
             &dof_handler_2);

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/53c90809-04b1-c2f0-3d35-ec11726fa46f%40colostate.edu.

Reply via email to