Just replace `dealii::parallel::fullydistributed::Triangulation<dim>` by `dealii::Triangulation<dim>` within `Check_meshPeriodicity()` . I think that should work.
https://www.dealii.org/developer/doxygen/deal.II/namespaceTriangulationDescription_1_1Utilities.html#af575881c2cf233fe6f85d1a3a65a73f6 and https://www.dealii.org/developer/doxygen/deal.II/namespaceTriangulationDescription_1_1Utilities.html#aefc3e841bcfd37714a07d04e42c8ffca show you how to construct p:f:T based on an external file. Hope that helps! PM On Thursday, 30 September 2021 at 17:43:43 UTC+2 [email protected] wrote: > Hi, > > I am working with [email protected] for one of my research projects and one of > the applications includes reading from a large mesh file. So I was using > the parallel::distributed::triangulation in my code which was working > perfectly but now as the size of my mesh files has increased more, I have > to switch to parallel::fullydistributed::triangulation but getting errors > in compilation of the code itself! I have written a basic example using > p:f:t and tried to compile it (attached to the mail) but I am getting an > undefined reference error (as shown below) although the code compiles well > for the p:d:t case! > > error: undefined reference to 'void > dealii::GridTools::collect_periodic_faces<dealii::parallel::fullydistributed::Triangulation<2, > > 2> >(dealii::parallel::fullydistributed::Triangulation<2, 2> const&, > unsigned int, unsigned int, int, > std::vector<dealii::GridTools::PeriodicFacePair<dealii::parallel::fullydistributed::Triangulation<2, > > 2>::cell_iterator>, > std::allocator<dealii::GridTools::PeriodicFacePair<dealii::parallel::fullydistributed::Triangulation<2, > > 2>::cell_iterator> > >&, dealii::Tensor<1, > dealii::parallel::fullydistributed::Triangulation<2, 2>::space_dimension, > double> const&, dealii::FullMatrix<double> const&)' > > > Can you please help in what is probably going wrong from my side in > implementation of p:f:t? > > -- > Regards, > Aditya Pratap Singh > Master's Student (FAU Erlangen-Nurnberg) > > -- 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/84c54b24-1e11-45bd-b25e-c1066a582553n%40googlegroups.com.
