Hi Aditya, what you found is the old development (and proof of concept) code. Since that time, we have integrated p:f:T into deal.II. All the tests there have been converted to proper deal.II tests in the folder https://github.com/dealii/dealii/tree/master/tests/fullydistributed_grids. I suggest you to take a look at the test copy_serial_tria_*.cc and copy_distributed_tria_*.cc. With increasing number of indices the tests become more complex (adding PBC, MG, ...). So start with 01 ;)
Hope that helps! PM On Tuesday, 19 October 2021 at 21:50:18 UTC+2 [email protected] wrote: > Hi, > > I was trying to understand dealii-pft/step-5 > <https://github.com/peterrum/dealii-pft/blob/master/step-5/src/main.cpp> > and implement something similar in my code, but there are some things which > are confusing for me! > > As from line 55, Author copies the data from serial triangulation to a > fully distributed triangulation and then reinitialize it: > > > > > > > > *// create instance of pftparallel::fullydistributed::Triangulation<dim> > tria_pft(comm);// extract relevant information form serial > triangulationauto construction_data > =parallel::fullydistributed::Utilities::copy_from_triangulation(basetria, > tria_pft);// actually create > triangulationtria_pft.reinit(construction_data)*; > > As I tried to implement similar, firstly I cannot find any function called > *reinit > *for triangulation file. Also, the way *construction_data *has been > created, I was unable to find function called *copy_from_triangulation *for > doing the same! I am assuming that this is because I have not included > proper header file. > > I can see that author has included <*deal.II/distributed/tria_util.h*> in > the code, but it was not available atleast in dealii version 9.2.0 or 9.3.0 > . > > Can anyone suggest something for this? > > Looking forward to some valuable suggestions. > > > Thanks and Regards, > Aditya > > > > -- 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/23a5799f-eef5-4420-9f25-358f597609d4n%40googlegroups.com.
