Re: [deal.II] compiling deal.ii 9.4 on wsl error

2022-09-08 Thread Daniel Arndt
Qiong, It's not sufficient to include deal.II's include files but you need to link the library target. Have a look at https://www.dealii.org/current/users/cmake_user.html. Best, Daniel On Wed, Sep 7, 2022 at 9:38 PM jim wo wrote: > and at the same time, I write the codes and it comes "the >

[deal.II] Issue linking GMSH when installing & building dealii 9.4

2022-09-08 Thread Matthew Rich
Hi all, I was upgrading the 9.4 and I needed to include GMSH for a project I am working on so I can use the API in my dealii code. I am getting the following error despite getting the all clear from CMAKE. How can I fix this , are there version limits on GMSH? I did notice this line* "netgen,

[deal.II] fe_interface_values but of a tensor quantity

2022-09-08 Thread Abbas
I am using DG elements and if I want to query the average of my vector solution across the interface I can do something like : std::vector> old_velocity_averages(n_q_points); fe_iv[velocities].get_average_of_function_values(solution_np0,old_velocity_averages); which gives me the average of

Re: [deal.II] Issue linking GMSH when installing & building dealii 9.4

2022-09-08 Thread Daniel Arndt
Matthew, I don't know if the missing references are due to missing components in your gmsh installation (but I wouldn't be surprised). In any way, *"netgen, tetgen and blas support has to be enabled in Gmsh" * relates to CMake options when building gmsh from source, e.g.,

Re: [deal.II] compiling deal.ii 9.4 on wsl error

2022-09-08 Thread jim wo
Daniel thank you very much,you are so kind,God bless you. best qiong Daniel Arndt 于 2022年9月8日周四 21:41写道: > Qiong, > > It's not sufficient to include deal.II's include files but you need to > link the library target. Have a look at > https://www.dealii.org/current/users/cmake_user.html. > >

Re: [deal.II] fe_interface_values but of a tensor quantity

2022-09-08 Thread Wolfgang Bangerth
On 9/8/22 04:40, Abbas wrote: I want the average of (uu) which is = u1*u1/2 +u2*u2/2 but I don't know how to get it. Do I understand right that u1 and u2 are vectors, and when you say u1 * u1 you mean the outer product of a vector with itself, forming a tensor? Best W. --

Re: [deal.II] Issue linking GMSH when installing & building dealii 9.4

2022-09-08 Thread Matthew Rich
Thanks for the reply. I tried building from source a couple times and no luck. I see tetgen and netgen in the cmake output but not blas Anyone do this recently? I have LAPACK debian package but that does not seem to do the job. I think this is my issue is BLAS is missing but not sure how to