Dear Jakob, > is it possible to have more than one constraint? I want to combine > mean_value_constraints with hanging_node_constraints. How can I manage > that?
as far as I know you can have constraints that are caused by different mechanisms. The way to deal with that is to first add the constraints from the mean value constraint to a ConstraintMatrix object, then apply DoFTools::make_hanging_node_constraints() on the same ConstraintMatrix, and then close that object. This should give the desired result. You should be aware of one thing, though: a mean value constraint will introduce a lot of couplings into the matrix, so the matrix won't be very sparse any more, I think... Best regards, Martin _______________________________________________
