tria.number_cache = internal::Triangulation::NumberCache<dim>();
}
+
+
+template <int dim, int spacedim>
+Triangulation<dim, spacedim>&
+Triangulation<dim, spacedim>::operator= (Triangulation<dim, spacedim> &&tria)
+{
+ Subscriptor::operator=(std::move(tria));
+
+ smooth_grid = tria.smooth_grid;
+ periodic_face_pairs_level_0 = std::move(tria.periodic_face_pairs_level_0);
+ periodic_face_map = std::move(tria.periodic_face_map);
+ levels = std::move(tria.levels);
+ faces = std::move(tria.faces);
+ vertices = std::move(tria.vertices);
+ vertices_used = std::move(tria.vertices_used);
+ manifold = std::move(tria.manifold);
+ anisotropic_refinement = tria.anisotropic_refinement;
+ //check_for_distorted_cells = tria.check_for_distorted_cells;
+ number_cache = tria.number_cache;
+ vertex_to_boundary_id_map_1d = std::move(tria.vertex_to_boundary_id_map_1d);
+ vertex_to_manifold_id_map_1d = std::move(tria.vertex_to_manifold_id_map_1d);
+
+ for (unsigned int i=0; i<tria.levels.size(); ++i)
+ tria.levels[i] = nullptr;
+
+ tria.number_cache = internal::Triangulation::NumberCache<dim>();
+
+ return *this;
+}
#endif
DEAL::1, 0, 1, 1, 1, 1, 0, 1
DEAL::1, 0, 1, 1, 1, 1, 0, 1
DEAL::0, 0, 0, 0, 0, 0, 0, 1
+DEAL::0, 0, 0, 0, 0, 0, 0, 1
+DEAL::1, 0, 1, 1, 1, 1, 0, 1
DEAL::Dimension: 3
DEAL::1, 1, 1, 1, 1, 1, 0, 1
DEAL::1, 1, 1, 1, 1, 1, 0, 1
DEAL::0, 0, 0, 0, 0, 0, 0, 1
+DEAL::0, 0, 0, 0, 0, 0, 0, 1
+DEAL::1, 1, 1, 1, 1, 1, 0, 1
DEAL::
DEAL::Hyper-shell:
DEAL::Dimension: 2
DEAL::1, 0, 1, 1, 1, 1, 0, 0
DEAL::1, 0, 1, 1, 1, 1, 0, 0
DEAL::0, 0, 0, 0, 0, 0, 0, 1
+DEAL::0, 0, 0, 0, 0, 0, 0, 1
+DEAL::1, 0, 1, 1, 1, 1, 0, 0
DEAL::Dimension: 3
DEAL::1, 1, 1, 1, 1, 1, 0, 0
DEAL::1, 1, 1, 1, 1, 1, 0, 0
DEAL::0, 0, 0, 0, 0, 0, 0, 1
+DEAL::0, 0, 0, 0, 0, 0, 0, 1
+DEAL::1, 1, 1, 1, 1, 1, 0, 0
DEAL::
DEAL::Periodic hyper-cube:
DEAL::Dimension: 2
DEAL::1, 0, 1, 1, 1, 1, 1, 1
DEAL::1, 0, 1, 1, 1, 1, 1, 1
DEAL::0, 0, 0, 0, 0, 0, 0, 1
+DEAL::0, 0, 0, 0, 0, 0, 0, 1
+DEAL::1, 0, 1, 1, 1, 1, 1, 1
DEAL::Dimension: 3
DEAL::1, 1, 1, 1, 1, 1, 1, 1
DEAL::1, 1, 1, 1, 1, 1, 1, 1
DEAL::0, 0, 0, 0, 0, 0, 0, 1
+DEAL::0, 0, 0, 0, 0, 0, 0, 1
+DEAL::1, 1, 1, 1, 1, 1, 1, 1