[deal.II] Re: Neumann condtitions in the mixed space setting

2016-08-31 Thread Daniel Arndt
Eldar, As you already found out, interpolate_boundary_values can only be used with a ComponentMask if the element you are using is primitive. Therefore, the workaround you are using seems to be suitable for the moment. Since BDM1 is div-conforming, project_boundary_values and

[deal.II] Re: Neumann condtitions in the mixed space setting

2016-08-30 Thread Eldar Khattatov
I managed to imply the Neumann conditions on stress only by first projecting the boundary values to the entire mixed space (affecting rotations), and then manually removing the constraints associated with rotations. The code is below if someone is interested.