From 258ed7f4670b3f1b020712b853e89213ede462ce Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Wed, 24 May 2000 22:32:42 +0000 Subject: [PATCH] dependence on forward_declarations.h removed for speed git-svn-id: https://svn.dealii.org/trunk@2941 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/dofs/dof_accessor.h | 6 +- .../deal.II/include/dofs/dof_constraints.h | 6 +- deal.II/deal.II/include/dofs/dof_handler.h | 13 +++- deal.II/deal.II/include/dofs/dof_tools.h | 4 +- deal.II/deal.II/include/fe/fe_values.h | 2 + deal.II/deal.II/include/grid/grid_generator.h | 5 +- deal.II/deal.II/include/grid/grid_in.h | 2 +- deal.II/deal.II/include/grid/grid_out.h | 2 +- deal.II/deal.II/include/grid/intergrid_map.h | 1 + deal.II/deal.II/include/grid/tria.h | 14 +++- deal.II/deal.II/include/grid/tria_accessor.h | 13 +++- deal.II/deal.II/include/grid/tria_boundary.h | 2 +- deal.II/deal.II/include/grid/tria_iterator.h | 2 +- deal.II/deal.II/include/multigrid/mg_base.h | 5 +- .../include/multigrid/mg_dof_accessor.h | 1 + .../include/multigrid/mg_dof_handler.h | 2 + .../deal.II/include/multigrid/mg_dof_tools.h | 3 - .../deal.II/include/multigrid/mg_smoother.h | 2 +- deal.II/deal.II/include/numerics/base.h | 2 + deal.II/deal.II/include/numerics/data_io.h | 5 +- deal.II/deal.II/include/numerics/data_out.h | 3 +- .../deal.II/include/numerics/data_out_stack.h | 3 +- .../include/numerics/dof_renumbering.h | 1 - .../include/numerics/error_estimator.h | 1 - deal.II/deal.II/include/numerics/matrices.h | 10 +++ deal.II/deal.II/include/numerics/vectors.h | 12 +++- deal.II/deal.II/source/multigrid/mg_base.cc | 13 +++- deal.II/lac/include/lac/block_sparse_matrix.h | 2 +- .../lac/include/lac/block_sparsity_pattern.h | 1 - deal.II/lac/include/lac/eigen.h | 1 - deal.II/lac/include/lac/precondition_block.h | 32 ++++++++- .../lac/precondition_block.templates.h | 65 +++++++++++++++++++ deal.II/lac/include/lac/solver.h | 5 +- deal.II/lac/include/lac/solver_selector.h | 1 - deal.II/lac/include/lac/sparse_matrix.h | 1 + deal.II/lac/include/lac/sparse_vanka.h | 4 +- deal.II/lac/include/lac/sparsity_pattern.h | 3 +- deal.II/lac/source/precondition_block.cc | 26 ++++++++ tests/deal.II/mglocal.cc | 10 +-- 39 files changed, 234 insertions(+), 52 deletions(-) diff --git a/deal.II/deal.II/include/dofs/dof_accessor.h b/deal.II/deal.II/include/dofs/dof_accessor.h index ffbd26e55d..95cdffd9c1 100644 --- a/deal.II/deal.II/include/dofs/dof_accessor.h +++ b/deal.II/deal.II/include/dofs/dof_accessor.h @@ -18,9 +18,13 @@ #include -#include #include +template class FullMatrix; +template class SparseMatrix; +template class Vector; + +template class DoFHandler; // note: in non-debug mode, i.e. with optimizations, the file // dof_accessor.templates.h is included at the end of this file. diff --git a/deal.II/deal.II/include/dofs/dof_constraints.h b/deal.II/deal.II/include/dofs/dof_constraints.h index 0dd6b3c9b4..71ec847299 100644 --- a/deal.II/deal.II/include/dofs/dof_constraints.h +++ b/deal.II/deal.II/include/dofs/dof_constraints.h @@ -18,8 +18,12 @@ #include #include #include -#include +class SparsityPattern; +template class BlockSparsityPattern; +template class SparseMatrix; +template class BlockSparseMatrix; +template class BlockIndices; /** * This class represents the matrix denoting the distribution of the degrees diff --git a/deal.II/deal.II/include/dofs/dof_handler.h b/deal.II/deal.II/include/dofs/dof_handler.h index 1631309634..5aa4eddf70 100644 --- a/deal.II/deal.II/include/dofs/dof_handler.h +++ b/deal.II/deal.II/include/dofs/dof_handler.h @@ -19,11 +19,18 @@ #include #include #include -#include #include -#include -#include +template class Function; + +template class DoFCellAccessor; +template class DoFLevel; +template class DoFObjectAccessor; +template class FiniteElement; +template class TriaRawIterator; +template class TriaIterator; +template class TriaActiveIterator; +template class Triangulation; /** * Define some types which differ between the dimensions. This class diff --git a/deal.II/deal.II/include/dofs/dof_tools.h b/deal.II/deal.II/include/dofs/dof_tools.h index af6dc71a7a..2332048219 100644 --- a/deal.II/deal.II/include/dofs/dof_tools.h +++ b/deal.II/deal.II/include/dofs/dof_tools.h @@ -18,10 +18,10 @@ #include -#include -#include #include +template class MGDoFHandler; +template