Hi, the copy constructor for Triangulation is indeed deleted. If you do need a copy, you may want to use copy_triangulation() <https://dealii.org/developer/doxygen/deal.II/classTriangulation.html#a1bca327fa47f88b58086dacc20028064>, that is also implemented for p::d::T. <https://dealii.org/developer/doxygen/deal.II/classparallel_1_1distributed_1_1Triangulation.html#a32dee27541d4a63c275046f6e4bdec3b>
Best, Marco Il giorno lunedì 7 novembre 2022 alle 15:51:17 UTC+1 [email protected] ha scritto: > when i compile the tutorial 40, i met the following error. It semms that > the function has been deleted. > > error: use of deleted function > ‘dealii::parallel::distributed::Triangulation<dim, > spacedim>::Triangulation(const MPI_Comm&, typename > dealii::Triangulation<dim, spacedim>::MeshSmoothing, > dealii::parallel::distributed::Triangulation<dim, spacedim>::Settings) > [with int dim = 2; int spacedim = 2; MPI_Comm = int; typename > dealii::Triangulation<dim, spacedim>::MeshSmoothing = > dealii::Triangulation<2, 2>::MeshSmoothing]’ > -- 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/3c20e3a3-1c5e-410a-a7ed-329836c2f19cn%40googlegroups.com.
