]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Merge pull request #16967 from tjhei/step-77-constraints
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 7 May 2024 15:15:20 +0000 (20:45 +0530)
committerGitHub <noreply@github.com>
Tue, 7 May 2024 15:15:20 +0000 (20:45 +0530)
step-77: use AffineConstraints only

1  2 
examples/step-77/step-77.cc

index a279deddcf6b60c946f807188ecb76b3f3f68db2,30fc66af84adfee0e2ffadab108de4b720a8125e..4ca1c811f350a8a303e1fde14f33129240be166c
@@@ -109,9 -108,10 +108,10 @@@ namespace Step7
      Triangulation<dim> triangulation;
  
      DoFHandler<dim> dof_handler;
 -    FE_Q<dim>       fe;
 +    const FE_Q<dim> fe;
  
-     AffineConstraints<double> hanging_node_constraints;
+     AffineConstraints<double> zero_constraints;
+     AffineConstraints<double> nonzero_constraints;
  
      SparsityPattern                      sparsity_pattern;
      SparseMatrix<double>                 jacobian_matrix;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.