]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Adapt to moved functions.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 13 Dec 1999 17:27:51 +0000 (17:27 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 13 Dec 1999 17:27:51 +0000 (17:27 +0000)
git-svn-id: https://svn.dealii.org/trunk@2054 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/constraints.cc
tests/deal.II/mg.cc
tests/deal.II/mglocal.cc

index ed72ae91a29227d4755755acb2c616622a8a95a5..9c3362f0e9d5dc724063c90905128e0afa62b702 100644 (file)
@@ -26,6 +26,7 @@
 #include <lac/sparse_matrix.h>
 #include <base/parameter_handler.h>
 #include <dofs/dof_constraints.h>
+#include <dofs/dof_tools.h>
 #include <grid/grid_out.h>
 #include <base/logstream.h>
 
@@ -267,7 +268,7 @@ int main ()
          dof.distribute_dofs (*fe);
       
          ConstraintMatrix constraints;
-         dof.make_hanging_node_constraints (constraints);
+         DoFTools::make_hanging_node_constraints (dof, constraints);
          constraints.close ();
       
          constraints.print (logfile);
index b1ae34d72b36cfe0ad4ca5abde9588926bf7d4dc..dfadf7b5930d76c857afacdb067cc4283d4c3f00 100644 (file)
@@ -88,7 +88,7 @@ int main()
          dof.distribute_dofs(*fe);
 
          ConstraintMatrix hanging_nodes;
-         dof.make_hanging_node_constraints(hanging_nodes);
+         DoFTools::make_hanging_node_constraints(dof, hanging_nodes);
          hanging_nodes.close();
 
          const unsigned int size = dof.n_dofs();
index 43d7c228186556cb45f155477350f90075e9bb9c..f0174a666b4ce2c8044bcd38432e017c1f65cb90 100644 (file)
 #include <fe/fe_values.h>
 #include <numerics/multigrid.h>
 #include <numerics/mg_smoother.h>
-MGSmoother* smoother_object;
 #include <numerics/multigrid.templates.h>
 #include <dofs/dof_tools.h>
 
 #include <fstream>
 
+MGSmoother* smoother_object;
+
 // Does anybody know why cmath does not do this?
 
 #ifndef M_PI_2
@@ -106,7 +107,7 @@ int main()
          DoFTools::make_sparsity_pattern(dof, structure);
 
          ConstraintMatrix hanging_nodes;
-         dof.make_hanging_node_constraints(hanging_nodes);
+         DoFTools::make_hanging_node_constraints (dof, hanging_nodes);
          hanging_nodes.close();
          hanging_nodes.condense(structure);
 

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.