Re: [deal.II] Re: Error in Reading Gmsh File in Dealii

2022-12-22 Thread Abbas
If you get stuck you can set the material ID manually after importing it with something like: Point p ; for (const auto &cell : triangulation.active_cell_iterators()) {p=cell->center() ; if(sqrt(p[0]^2+p[1]^2)set_material_id(1) ; else cell->set_material_id(2) ; } It's a cheat and mi

[deal.II] Installation error of deal.II in the Stampede2 cluster

2022-12-22 Thread David Montiel Taboada
Hello, I am trying to install deal.II v 9.2.0 on the TACC Stampede2 cluster. I already a working installation but when I tried to install it again using the same instructions I am getting the following error: /opt/apps/gcc/6.3.0/bin/ld.gold: error: ../lib/libdeal_II.so.9.2.0: bad symbol name

Re: [deal.II] Templating dealii::Function with ADtypes

2022-12-22 Thread Wolfgang Bangerth
Pranshul: I am trying to template dealii's Function (https://www.dealii.org/current/doxygen/deal.II/classFunction.html) with an ADType i.e. I am planning to use template class dealii::Function>; However, this line encounters an error as this line in function.templates.h (https://github.com

[deal.II] Templating dealii::Function with ADtypes

2022-12-22 Thread Pranshul Thakur
Hi, I am trying to template dealii's Function (https://www.dealii.org/current/doxygen/deal.II/classFunction.html) with an ADType i.e. I am planning to use template class dealii::Function>; However, this line encounters an error as this line in function.templates.h (https://github.com/dealii/de

[deal.II] Re: Error in Reading Gmsh File in Dealii

2022-12-22 Thread Bruno Turcksin
Deepika, Can you try using a linear mesh instead of curvilinear one? Does that work? Best, Bruno On Thursday, December 22, 2022 at 1:47:32 AM UTC-5 deepika...@iitgoa.ac.in wrote: > Hello Everyone, > > I have successfully read a gmsh file for one material in my code. Now I am > trying to read