Re: [deal.II] VectorTools::interpolate_boundary_values doesn't work for DG

2023-01-04 Thread Abbas
Thank you Daniel. I was using penalties before taking this route, because I had artifacts at the boundary faces present at a corner between a Dirichlet and a Neuman BC edge. A problem I didn't have with CG. My first intuition was to apply BCs strongly to fix this, but I don't think it will

Re: [deal.II] VectorTools::interpolate_boundary_values doesn't work for DG

2023-01-04 Thread Daniel Arndt
Abbas, Yes, FE_DGQ only defines dofs in the interior of cells. Thus, trying to interpolate the boundary has no effect. You would normally use penalty terms to prescribe boundary values for DG methods. Best, Daniel On Wed, Jan 4, 2023 at 6:04 PM Abbas wrote: > Hello, > > The

[deal.II] VectorTools::interpolate_boundary_values doesn't work for DG

2023-01-04 Thread Abbas
Hello, The VectorTools::interpolate_boundary_values function works for interpolating fe_Q functions but not fe_DGQ . Was this meant to be the case? I attached a minimal code that illustrates this. -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum

Re: [deal.II] collect2 linking error when executing make

2023-01-04 Thread Simon Wiesheier
I called cmake as follows $ cmake -DDEAL_II_WITH_HDF5=OFF . and get the additional lines //No help, variable specified on the command line. DEAL_II_WITH_HDF5:UNINITIALIZED=OFF in my CMakeCache.txt file. However, after $ make the error message is unchanged. Best Simon Am Di., 3. Jan. 2023 um