On 6/17/21 1:13 AM, Corbin Foucart wrote:
Maybe the way to go is a BlockVector object as you alternatively suggest, but
my problem doesn't inherently have blocks. I'm simply looking to add, for
example, the pressure field to another scalar DG field unrelated to the
system; I'd rather keep the FESystem organized by (u,v,p) on each cell.
Corbin,
if you don't want to go the route of block vectors, take a look at
DoFTools::extract_dofs(), which provides you with an index set of all of the
DoFs that correspond to specific vector components.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.colostate.edu/~bangerth/
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/19052578-f001-cb5a-0248-003910f0788c%40colostate.edu.