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 CoupledTH<dim>::make_grid_and_dofs() {
GridIn<dim> gridin; // instantiate a gridinput
gridin.attach_triangulation(triangulation);
std::ifstream f("inputfiles/mesh.msh");
gridin.read_msh(f);
...
I am not sure if this impacts the declaration.
Thank you very much.
Best,
Xiang
On Wednesday, 5 August 2020 08:23:00 UTC-7, Wolfgang Bangerth wrote:
>
> 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 <deal.II/distributed/tria.h>
>
> Best
> W.
>
> --
> ------------------------------------------------------------------------
> Wolfgang Bangerth email: [email protected]
> <javascript:>
> www: http://www.math.colostate.edu/~bangerth/
>
>
--
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/60a7c6dc-66cd-4be2-aaad-46eeb1dd3c69o%40googlegroups.com.