Re: [deal.II] Extracting a component from Block FESystem and DofHandler

2021-05-27 Thread Wolfgang Bangerth
On 5/25/21 8:42 PM, Corbin Foucart wrote: I'm doing something very similar to Spencer. The answers provided by Prof. Bangerth and Bruno make sense, up to one question: The first two yes. If you do it right, i.e., ensure that the velocity DoFHandler numbers degrees of freedom in the sa

Re: [deal.II] Extracting a component from Block FESystem and DofHandler

2021-05-25 Thread Corbin Foucart
Hi all, I'm doing something very similar to Spencer. The answers provided by Prof. Bangerth and Bruno make sense, up to one question: The first two yes. If you do it right, i.e., ensure that the velocity > DoFHandler numbers degrees of freedom in the same order as the system > DoFHandler does,

Re: [deal.II] Extracting a component from Block FESystem and DofHandler

2016-08-16 Thread Wolfgang Bangerth
On 08/16/2016 09:34 AM, Spencer Patty wrote: Supposing velocity_block represents the block number associated to the velocity components, I noticed that solution.block{velocity_block} would be a TrilinosWrapper::MPI::Vector of the velocity as desired and it is possible to extract the sub FiniteEl

[deal.II] Extracting a component from Block FESystem and DofHandler

2016-08-16 Thread Spencer Patty
Dear All, I have a class which represents a velocity field (I am using a variant of the pressure correction navier stokes model with two phases) and a class which represents a transport model along a provided velocity field. I am adding in some terms into the velocity model (currently surface