On 12/20/23 04:35, Simon wrote:
But it is not clear to me how to compute the norms of velocity and pressure in
that case.
So far, I used a Block indices object as returned by
DoFTools::count_dofs_per_fe_block()
since I compute the l2-norm only of the unconstrained DoFs.
That said, how do you access the velocity and pressure block when working with
direct solvers?
You can still renumber things based on what variable a DoF represents, so that
they occupy consecutive vector indices -- you just don't split the vector into
blocks.
But even if you didn't want to do that, you can always use
DoFTools::extract_dofs() to figure out which DoF corresponds to which variable.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: bange...@colostate.edu
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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/18e9c466-ad15-4c0a-a966-a099e98f30bf%40colostate.edu.