for (unsigned int i=0;i<255;++i)
{
boundary[i] = straight_boundary;
- boundary[i]->subscribe();
+ boundary[i]->subscribe(typeid(*this).name());
}
}
levels.clear ();
for (unsigned int i=0;i<255;++i)
- boundary[i]->unsubscribe ();
+ boundary[i]->unsubscribe(typeid(*this).name());
}
for (unsigned int i=0; i<255; ++i)
{
- boundary[i]->unsubscribe ();
+ boundary[i]->unsubscribe(typeid(*this).name());
boundary[i] = straight_boundary;
- boundary[i]->subscribe ();
+ boundary[i]->subscribe(typeid(*this).name());
};
number_cache = TriaNumberCache<dim>();
{
Assert(number<255, ExcIndexRange(number,0,255));
- boundary[number]->unsubscribe ();
+ boundary[number]->unsubscribe(typeid(*this).name());
boundary[number] = &boundary_object;
- boundary_object.subscribe();
+ boundary_object.subscribe(typeid(*this).name());
}
for (unsigned i=0;i<255;++i)
{
- boundary[i]->unsubscribe ();
+ boundary[i]->unsubscribe(typeid(*this).name());
boundary[i] = old_tria.boundary[i];
- boundary[i]->subscribe ();
+ boundary[i]->subscribe(typeid(*this).name());
}
levels.reserve (old_tria.levels.size());
// and then set them again
const unsigned int n=n_subscriptions();
for (unsigned int i=0; i<n; ++i)
- unsubscribe();
+ unsubscribe(typeid(*this).name());
clear ();
for (unsigned int i=0; i<n; ++i)
- subscribe();
+ subscribe(typeid(*this).name());
}
ExcInvalidPosition());
// lock this timestep from deletion
- new_timestep->subscribe();
+ new_timestep->subscribe(typeid(*this).name());
// first insert the new time step
// into the doubly linked list
Assert (position<timesteps.size(),
ExcInvalidPosition());
- timesteps[position]->unsubscribe();
+ timesteps[position]->unsubscribe(typeid(*this).name());
delete timesteps[position];
timesteps.erase (timesteps.begin() + position);
{
if (!flags.delete_and_rebuild_tria)
{
- tria->unsubscribe ();
+ tria->unsubscribe(typeid(*this).name());
delete tria;
}
else
if (flags.delete_and_rebuild_tria)
{
- tria->unsubscribe();
+ tria->unsubscribe(typeid(*this).name());
delete tria;
tria = 0;
};
// create a virgin triangulation and
// set it to a copy of the coarse grid
tria = new Triangulation<dim> ();
- tria->subscribe();
+ tria->subscribe(typeid(*this).name());
tria->copy_triangulation (*coarse_grid);
// for each of the previous refinement