Re: [deal.II] Applying boundary masks when using project_boundary_values()

2019-05-17 Thread Wolfgang Bangerth
On 5/16/19 2:41 PM, 'Maxi Miller' via deal.II User Group wrote: > If I understand that correctly, the correct order for doing that would be: > -> Interpolate boundary condition without any component mask, giving me a > vector > -> Loop over all elements in the vector, and cross-check with the mask

Re: [deal.II] Applying boundary masks when using project_boundary_values()

2019-05-16 Thread 'Maxi Miller' via deal.II User Group
If I understand that correctly, the correct order for doing that would be: -> Interpolate boundary condition without any component mask, giving me a vector -> Loop over all elements in the vector, and cross-check with the mask (using extract_dofs()) if they should be interpolated in that way -> I

Re: [deal.II] Applying boundary masks when using project_boundary_values()

2019-05-16 Thread Wolfgang Bangerth
On 5/15/19 8:37 AM, 'Maxi Miller' via deal.II User Group wrote: > I have to replace VectorTools::interpolate_boundary_values with > VectorTools::project_boundary_values at several places in my project. I could > apply the boundary values only for certain parts in my FESystem using > component ma

[deal.II] Applying boundary masks when using project_boundary_values()

2019-05-15 Thread 'Maxi Miller' via deal.II User Group
I have to replace VectorTools::interpolate_boundary_values with VectorTools::project_boundary_values at several places in my project. I could apply the boundary values only for certain parts in my FESystem using component masks, but I can not use those masks in project_boundary_values(). What w