> // Add shock indicator to the two cells > DoFAccessor<dim,DoFHandler<dim> > dof_accessor1 (&triangulation, > dinfo1.cell->level(), > dinfo1.cell->index(), > &dh_cell);
Yes, this is a legitimate way to convert between two DoFhandler iterators. An alternative way would have been to say DoFHandler<dim>::cell_iterator cell_on_other_dh = dinfo1.cell; cell_on_other_dh->set_dof_handler (&dh_cell); Best W. ------------------------------------------------------------------------- Wolfgang Bangerth email: [email protected] www: http://www.math.tamu.edu/~bangerth/ _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
