Re: [deal.II] error: cannot declare field ‘CoupledTH<3>::triangulation’ to be of abstract type ‘dealii::parallel::distributed::Triangulation<3, 3>’

2020-08-07 Thread 孙翔
Hi, Wolfgang, Oh, I see. Thank you very much. Best, Xiang On Friday, 7 August 2020 11:12:18 UTC-7, Wolfgang Bangerth wrote: > > On 8/7/20 12:05 PM, 孙翔 wrote: > > Hi, Wolfgang, > > > > Thank you very much. Please see the following error message (red parts) > which > > is all I get from the

Re: [deal.II] error: cannot declare field ‘CoupledTH<3>::triangulation’ to be of abstract type ‘dealii::parallel::distributed::Triangulation<3, 3>’

2020-08-07 Thread Wolfgang Bangerth
On 8/7/20 12:05 PM, 孙翔 wrote: Hi, Wolfgang, Thank you very much. Please see the following error message (red parts) which is all I get from the Github version. Scanning dependencies of target thm [ 20%] Building CXX object CMakeFiles/thm.dir/src/main.cc.o In file included from

Re: [deal.II] error: cannot declare field ‘CoupledTH<3>::triangulation’ to be of abstract type ‘dealii::parallel::distributed::Triangulation<3, 3>’

2020-08-07 Thread 孙翔
Hi, Wolfgang, Thank you very much. Please see the following error message (red parts) which is all I get from the Github version. Scanning dependencies of target thm [ 20%] Building CXX object CMakeFiles/thm.dir/src/main.cc.o In file included from /home/shyaan/thm/src/main.cc:8:0:

Re: [deal.II] error: cannot declare field ‘CoupledTH<3>::triangulation’ to be of abstract type ‘dealii::parallel::distributed::Triangulation<3, 3>’

2020-08-07 Thread Wolfgang Bangerth
Thank you for your reply. The complete code can be found on GitHub and we also have the instruction for compiling the code on TACC in UTA. This code is in the branch thm_seg_distributed. You may like to download it and build it. https://github.com/cb-geo/thm/tree/thm_seg_distributed

Re: [deal.II] error: cannot declare field ‘CoupledTH<3>::triangulation’ to be of abstract type ‘dealii::parallel::distributed::Triangulation<3, 3>’

2020-08-05 Thread 孙翔
Hi, Wolfgang, Thank you for your reply. The complete code can be found on GitHub and we also have the instruction for compiling the code on TACC in UTA. This code is in the branch thm_seg_distributed. You may like to download it and build it.

Re: [deal.II] error: cannot declare field ‘CoupledTH<3>::triangulation’ to be of abstract type ‘dealii::parallel::distributed::Triangulation<3, 3>’

2020-08-05 Thread Wolfgang Bangerth
On 8/5/20 10:42 AM, 孙翔 wrote: Please see the attached file, which is the head file that used the library. Thank you very much. That's not enough -- you're using a file "interpolation.h" that I don't have, and parts of the rest of that file depend on this. You need to give me something

Re: [deal.II] error: cannot declare field ‘CoupledTH<3>::triangulation’ to be of abstract type ‘dealii::parallel::distributed::Triangulation<3, 3>’

2020-08-05 Thread 孙翔
Hi, Wolfgang, Please see the attached file, which is the head file that used the library. Thank you very much. Best, Xiang On Wednesday, 5 August 2020 09:14:51 UTC-7, Wolfgang Bangerth wrote: > > On 8/5/20 10:13 AM, 孙翔 wrote: > > > > I have included it actually, and also the

Re: [deal.II] error: cannot declare field ‘CoupledTH<3>::triangulation’ to be of abstract type ‘dealii::parallel::distributed::Triangulation<3, 3>’

2020-08-05 Thread Wolfgang Bangerth
On 8/5/20 10:13 AM, 孙翔 wrote: I have included it actually, and also the distributed/grid_refinement.h was also included. Because I want to import the outside mesh to build up the triangulation, I also used Gridin to work on the triangulation, which is like as the following: Then I have no

Re: [deal.II] error: cannot declare field ‘CoupledTH<3>::triangulation’ to be of abstract type ‘dealii::parallel::distributed::Triangulation<3, 3>’

2020-08-05 Thread 孙翔
Hi, Wolfgang, I have included it actually, and also the distributed/grid_refinement.h was also included. Because I want to import the outside mesh to build up the triangulation, I also used Gridin to work on the triangulation, which is like as the following: void

Re: [deal.II] error: cannot declare field ‘CoupledTH<3>::triangulation’ to be of abstract type ‘dealii::parallel::distributed::Triangulation<3, 3>’

2020-08-05 Thread Wolfgang Bangerth
On 8/5/20 3:01 AM, 孙翔 wrote: error: cannot declare field ‘CoupledTH<3>::triangulation’ to be of abstract type ‘dealii::parallel::distributed::Triangulation<3, 3>’ I suspect that you forgot in #include Best W. --

[deal.II] error: cannot declare field ‘CoupledTH<3>::triangulation’ to be of abstract type ‘dealii::parallel::distributed::Triangulation<3, 3>’

2020-08-05 Thread 孙翔
Hi, I want to declare a variable triangulation as the type dealii::parallel::distributed::Triangulation<3, 3>. The code is : in main function, using namespace dealii; Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1); CoupledTH<3> coupled_TH_solver(1);