Re: [deal.II] Extractors for local_rhs in step-22

2021-11-19 Thread Wolfgang Bangerth
On 11/19/21 6:26 PM, Marco Feder wrote: indeed, as we have incompressibility, the last component of the rhs will always be 0. I wrote a possible patch, I'll open the pr tomorrow so that I can take another look at it! Awesome, thanks! W. -- --

Re: [deal.II] Extractors for local_rhs in step-22

2021-11-19 Thread Marco Feder
Thanks Wolfgang, indeed, as we have incompressibility, the last component of the rhs will always be 0. I wrote a possible patch, I'll open the pr tomorrow so that I can take another look at it! Best, Marco Il giorno venerdì 19 novembre 2021 alle 23:15:50 UTC+1 Wolfgang Bangerth ha scritto: >

Re: [deal.II] Extractors for local_rhs in step-22

2021-11-19 Thread Wolfgang Bangerth
Marco, I was going through step-22 and I saw that since you're using primitive elements, then you compute the local_rhs contribution using /fe.system_to_component_index(i).first/ However, as written in the program, we could as well multiply the dim+1 tensor having the values of the i-th sh

[deal.II] Extractors for local_rhs in step-22

2021-11-18 Thread Marco Feder
Dear all, I was going through step-22 and I saw that since you're using primitive elements, then you compute the local_rhs contribution using *fe.system_to_component_index(i).first* However, as written in the program, we could as well multiply the dim+1 tensor having the values of the i-th sha