boost::signals2::signal<void ()> create;
boost::signals2::signal<void ()> pre_refinement;
boost::signals2::signal<void ()> post_refinement;
+ boost::signals2::signal<void (const Triangulation<dim, spacedim>::cell_iterator &cell)> post_refinement_on_cell;
boost::signals2::signal<void (const Triangulation<dim, spacedim> &original_tria)> copy;
boost::signals2::signal<void ()> clear;
boost::signals2::signal<void ()> any_change;
right_neighbor->set_neighbor (nbnb, second_child);
}
}
+ // inform all listeners that cell refinement is done
+ triangulation.signals.post_refinement_on_cell(cell);
}
}
internal::int2type<dim>(),
internal::int2type<spacedim>()))
cells_with_distorted_children.distorted_cells.push_back (cell);
+ // inform all listeners that cell refinement is done
+ triangulation.signals.post_refinement_on_cell(cell);
}
}
// note that the refinement flag was already cleared
// at the beginning of this loop
+
+ // inform all listeners that cell refinement is done
+ triangulation.signals.post_refinement_on_cell(hex);
}
}
= new std::map<unsigned int, types::manifold_id>();
}
- // connect the any_change signal to the other signals
+ // connect the any_change signal to the other top level signals
signals.create.connect (signals.any_change);
signals.post_refinement.connect (signals.any_change);
signals.clear.connect (signals.any_change);