[deal.II] Re: get_function_values giving different results depending on the number of MPI ranks

2022-01-28 Thread Lucas Myers
Whoops, this one was indeed a silly error! The problem had nothing to do with the `get_function_values` function. Rather, it only showed up there because that is the only place that I use ghost elements. These weren't being updated because (as clearly stated in the ghost vector documentation

Re: [deal.II] Re: Cannot find the header files when compiling with WSL Linux distributive in VS code

2022-01-28 Thread Jiang Hu
Hi Raghunandan, what is PPA? I am trying to set up in vscode, would like to know. Thanks Martin On Mon, 17 Jan 2022 at 00:21, Raghunandan Pratoori wrote: > Hi, > > I use VS Code with WSL. I followed the instructions on these 2 pages and > was able to get it to work - >

Re: [deal.II] Finding gradient of divergence over divergence normal

2022-01-28 Thread Wolfgang Bangerth
On 1/28/22 15:04, shahab.g...@gmail.com wrote: Thank you for your answer. Yes, I want to evaluate the quantity at quadrature points. This is a source term (Continuum Surface Force) that should be added to the (Navier-Stokes) equations. Then you will multiply it by a test function, and you

Re: [deal.II] Finding gradient of divergence over divergence normal

2022-01-28 Thread shahab.g...@gmail.com
Thank you for your answer. Yes, I want to evaluate the quantity at quadrature points. This is a source term (Continuum Surface Force) that should be added to the (Navier-Stokes) equations. On Friday, January 28, 2022 at 3:04:14 PM UTC-5 Wolfgang Bangerth wrote: > On 1/28/22 7:56 AM,

Re: [deal.II] Finding gradient of divergence over divergence normal

2022-01-28 Thread Wolfgang Bangerth
On 1/28/22 7:56 AM, shahab.g...@gmail.com wrote: I am looking for a way to obtain the distribution of ∇.(∇C/|∇C|) where C is the main variable and I have its distribution (values, gradients and laplacians) over the domain. This is used for finding the normal vector and its divergence over

[deal.II] Finding gradient of divergence over divergence normal

2022-01-28 Thread shahab.g...@gmail.com
Dear all, I am looking for a way to obtain the distribution of ∇.(∇C/|∇C|) where C is the main variable and I have its distribution (values, gradients and laplacians) over the domain. This is used for finding the normal vector and its divergence over the moving interface of two materials in a