On 7/3/20 11:20 AM, Stephen wrote:
I have an FE system object made of FE_TraceQ and FE_FaceQ and would like to apply hanging node (and zero boundary) constraints to only the first component. This is easy with zero boundary since the function DoFTools::make_zero_boundary_constraints can take a component mask as an argument but I see no such variant for DofTools::make_hanging_node_constraints; what would be the easiest way to do this practically?

Right. That's because make_hanging_node_constraints() in essence just enforces a property of the finite element space, namely specific continuity constraints. These properties are described by the finite element class.

If I understand you right, then you want an FE_FaceQ that does not require continuity from a large face to its child faces -- in other words, you want it to be discontinuous. I am curious why you need this? That's because the continuity between cells of the same size is implicitly provided. Why do you want to treat faces with hanging nodes differently?

(If that's what you really want, you need to come up with a different way to describe the finite element space -- using a different class derived from FiniteElement<dim> -- and I'm happy to walk you through the process. But I don't understand why you would want to do that, and so am curious about the underlying reason first.)

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/dffb5991-4499-33dc-f3b3-747be71652c2%40colostate.edu.

Reply via email to