On 3/7/24 23:22, Yufei Fang wrote:
error: cannot convert ‘dealii::Triangulation<2, 3>’ to
‘dealii::Triangulation<3, 3>&’
38 | grid_in.attach_triangulation(triangulation);
| ^~~~~~~~~~~~~
| |
| dealii::Triangulation<2, 3>
In file included from
/home/fomebody/myDealii/0308_test_comsolinair/test.cc:6:
/home/fomebody/dealii-9.5.1/include/deal.II/grid/grid_in.h:361:54: note:
initializing argument 1 of ‘void dealii::GridIn<dim,
spacedim>::attach_triangulation(dealii::Triangulation<dim, spacedim>&)
[with int dim = 3; int spacedim = 3]’
You will need GridIn<2,3> as well, not GridIn<3>.
Best
W.
--
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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/f4124fce-2fc1-4197-bece-23ac86ef9f25%40colostate.edu.