[deal.II] Re: command line compilation error on a linux machine using spack installation of deal.ii dev

2019-01-28 Thread Denis Davydov
Hi Nicola On Monday, January 28, 2019 at 11:35:33 AM UTC+1, Nicola Giuliani wrote: > > Dear all, > > I have just updated my spack installation of deal.ii on Linux Mint (18) > machine. > by updated you mean you pulled the recent version and installed the deal.II via Spack? What commit are you

Re: [deal.II] Re: the viscous term in SUPG stabilization terms

2019-01-28 Thread Bruno Blais
I might be late to the party, But I believe what Wolfgang is trying to say is that Q1-Q1 elements are bi-linear. Consequently, except if you mesh is perfectly alligned with the x and y axis, you will have a non-zero second derivative of the shape function. Your shape function are of the form : a

Re: [deal.II] Problem with Adaptive mesh refinement for NavierStokesProjection (Step-35)

2019-01-28 Thread Wolfgang Bangerth
On 1/28/19 6:38 AM, gabriel.pet...@koeln.de wrote: > > But the problem is, that after one mesh-refinement step the time-step solving > of the Navierstokesprojection (in Step-35 it is in diffusion_step()) > diverges. And I don't see why. Does anyone have an idea? > > First I thought that I used t

Re: [deal.II] command line compilation error on a linux machine using spack installation of deal.ii dev

2019-01-28 Thread Wolfgang Bangerth
On 1/28/19 3:35 AM, Nicola Giuliani wrote: > > and It reports > > :0:11: error: expected identifier before numeric constant > :0:11: error: expected unqualified-id before numeric constant > :0:11: error: expected unqualified-id before numeric constant > > Looking on the internet I have seen that

[deal.II] Problem with Adaptive mesh refinement for NavierStokesProjection (Step-35)

2019-01-28 Thread gabriel . peters
Hi everyone, I am trying to implement an adaptive mesh refinement scheme for the Step-35 examle program. I implemented the mesh-refinement acording to the Step-26 tutorial. So I proceeded in the refine_mesh function as follows: 1. Create a Solution_Transfer object for each Vector; 2. prepare ref

Re: [deal.II] command line compilation error on a linux machine using spack installation of deal.ii dev

2019-01-28 Thread Jean-Paul Pelteret
Dear Nicola, This is pretty strange, since you say that the same code compiles on other machines. From what I can tell from a brief search of this error message, it typically appears when there is a stray brace or comma or the like. Are you completely sure that source files on this problematic

[deal.II] command line compilation error on a linux machine using spack installation of deal.ii dev

2019-01-28 Thread Nicola Giuliani
Dear all, I have just updated my spack installation of deal.ii on Linux Mint (18) machine. When I try to compile my deal.ii based project I get puzzling errors. The compiler has already compiled all the files of the project and put them into a library, then It tries to compile the main file e