#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>
dof.distribute_dofs (*fe);
ConstraintMatrix constraints;
- dof.make_hanging_node_constraints (constraints);
+ DoFTools::make_hanging_node_constraints (dof, constraints);
constraints.close ();
constraints.print (logfile);
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();
#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
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);