#include <base/config.h>
#include <base/exceptions.h>
-
+#include <grid/tria_iterator_base.h>
/**
* In this namespace a number of classes is declared that may be used
#include <base/config.h>
#include <base/exceptions.h>
+#include <base/point.h>
#include <map>
-template <int dim> class Point;
+
template <int dim> class Triangulation;
template <typename number> class Vector;
template <typename number> class SparseMatrix;
#include <lac/sparse_matrix.h>
#include <lac/vector.h>
#include <multigrid/mg_base.h>
+#include <multigrid/mg_dof_handler.h>
#include <vector>
* this type as late as possible.
*/
template <int dim>
- FAS(const MGDoFHandler<dim>& mg_dof_handler,
- const unsigned int minlevel = 0,
- const unsigned int maxlevel = 1000000);
-
+ FAS (const MGDoFHandler<dim>& mg_dof_handler,
+ const unsigned int minlevel = 0,
+ const unsigned int maxlevel = 1000000);
/**
* Execute one step of the
template <class VECTOR>
template <int dim>
FAS<VECTOR>::FAS (const MGDoFHandler<dim>& mg_dof_handler,
- const unsigned int min_level,
- const unsigned int max_level)
+ const unsigned int min_level,
+ const unsigned int max_level)
:
minlevel(min_level),
maxlevel(std::min(mg_dof_handler.get_tria().n_levels()-1,
#ifndef __deal2__mg_dof_tools_h
#define __deal2__mg_dof_tools_h
+#include <base/config.h>
+#include <multigrid/mg_dof_handler.h>
+
+#include <vector>
+
template <class Object> class MGLevelObject;
template <int dim> class MGDoFHandler;
template <typename number> class Vector;
template <typename number> class BlockVector;
template <class number> class FullMatrix;
-#include <base/config.h>
-
/**
* This is a collection of functions operating on, and manipulating
template <int dim, typename number>
static void
reinit_vector (const MGDoFHandler<dim>& mg_dof,
- MGLevelObject<BlockVector<number> >& vector,
+ MGLevelObject<BlockVector<number> >& v,
const std::vector<bool>& selected);
};
#define __deal2__mg_dof_handler_templates_h
+#include <multigrid/mg_smoother.h>
+
template<class MATRIX, class VECTOR>
template<int dim>
#ifndef __deal2__mg_tools_templates_h
#define __deal2__mg_tools_templates_h
+#include <lac/sparse_matrix.h>
#include <dofs/dof_constraints.h>
#include <numerics/data_out.h>
#include <multigrid/mg_base.h>
+#include <multigrid/mg_transfer.h>
+
#include <algorithm>
#include <fstream>
-#include <lac/sparse_matrix.h>
//TODO:[?] This function needs to be specially implemented, since in 2d mode we use faces
#include <lac/sparse_matrix.h>
#include <lac/vector.h>
#include <multigrid/mg_base.h>
+#include <multigrid/mg_dof_handler.h>
#include <vector>