Hi,
I was trying to understand
dealii-pft/step-5 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 pft
parallel::fullydistributed::Triangulation<dim> tria_pft(comm);
// extract relevant information form serial triangulation
auto construction_data =
parallel::fullydistributed::Utilities::copy_from_triangulation(basetria, tria_pft);
// actually create triangulation
tria_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