From: wolf Date: Mon, 13 Dec 1999 17:27:51 +0000 (+0000) Subject: Adapt to moved functions. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a94bffe5e87922ad2c8707667ff8b5833ec1861e;p=dealii-svn.git Adapt to moved functions. git-svn-id: https://svn.dealii.org/trunk@2054 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/deal.II/constraints.cc b/tests/deal.II/constraints.cc index ed72ae91a2..9c3362f0e9 100644 --- a/tests/deal.II/constraints.cc +++ b/tests/deal.II/constraints.cc @@ -26,6 +26,7 @@ #include #include #include +#include #include #include @@ -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); diff --git a/tests/deal.II/mg.cc b/tests/deal.II/mg.cc index b1ae34d72b..dfadf7b593 100644 --- a/tests/deal.II/mg.cc +++ b/tests/deal.II/mg.cc @@ -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(); diff --git a/tests/deal.II/mglocal.cc b/tests/deal.II/mglocal.cc index 43d7c22818..f0174a666b 100644 --- a/tests/deal.II/mglocal.cc +++ b/tests/deal.II/mglocal.cc @@ -25,12 +25,13 @@ #include #include #include -MGSmoother* smoother_object; #include #include #include +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);