############################################################
clean:
- rm -f *.o *.go *.output
+ rm -f Make.depend *.o *.go *.output
veryclean: clean
rm -f *.testcase *.inp *.gpl *.eps *.gnuplot
clean:
- -rm -f *.o *.go *~ Makefile.dep $(executables) $(output-files) tmp/*
+ -rm -f *.o *.go *~ Make.depend Makefile.dep $(executables) $(output-files) tmp/*
#include <lac/sparsematrix.h>
#include <grid/dof_constraints.h>
#include <numerics/dof_renumbering.h>
+#include <basic/dof_tools.h>
#include <cmath>
#include <cstdlib>
dof->max_couplings_between_dofs());
- dof->make_sparsity_pattern (sparsity);
+ DoFTools::make_sparsity_pattern (*dof, sparsity);
int unconstrained_bandwidth = sparsity.bandwidth();
cout << " Writing sparsity pattern..." << endl;
#include <numerics/multigrid.h>
#include <numerics/multigrid.templates.h>
#include <numerics/mg_smoother.h>
+#include <basic/dof_tools.h>
#include "helmholtz.h"
deallog << "Levels: " << tr.n_levels() << endl;
SparseMatrixStruct structure(size, dof.max_couplings_between_dofs());
- dof.make_sparsity_pattern(structure);
+ DoFTools::make_sparsity_pattern(dof, structure);
structure.compress();
SparseMatrix<double> A(structure);
#include <numerics/mg_smoother.h>
MGSmoother* smoother_object;
#include <numerics/multigrid.templates.h>
+#include <basic/dof_tools.h>
#include <fstream>
{
deallog << "smoothing-steps" << step << endl;
SparseMatrixStruct structure(size, dof.max_couplings_between_dofs());
- dof.make_sparsity_pattern(structure);
+ DoFTools::make_sparsity_pattern(dof, structure);
ConstraintMatrix hanging_nodes;
dof.make_hanging_node_constraints(hanging_nodes);
#include <lac/forward-declarations.h>
#include <basic/forward-declarations.h>
#include <numerics/time-dependent.h>
+#include <grid/dof.h>
+#include <basic/dof_tools.h>
#include <iostream>
#include <string>
dof_handler->max_couplings_between_dofs());
// build sparsity pattern and condense
// with hanging nodes
- dof_handler->make_sparsity_pattern (system_sparsity);
+ DoFTools::make_sparsity_pattern (*dof_handler, system_sparsity);
constraints.condense (system_sparsity);
system_sparsity.compress ();
@perl -pi -e 's/JobId.*//;s/value.*//;' $@
%.check:%.output
- @diff $< $(patsubst %.output,%.checked, $<) && echo '=====OK============'
+ @-diff $< $(patsubst %.output,%.checked, $<) && echo '=====OK============'
############################################################
# Cleanup targets
############################################################
clean:
- rm -f *.o *.go *.output
+ rm -f Make.depend *.o *.go *.output
veryclean: clean
rm -f *.testcase *.inp *.gpl *.eps *.gnuplot