From 78a117cd6703b0d853234fc32ee297ad6ac9fbfa Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sun, 13 May 2018 01:19:23 +0200 Subject: [PATCH] Remove deprecated header file --- include/deal.II/base/tensor_base.h | 7 ---- include/deal.II/distributed/grid_tools.h | 23 ----------- include/deal.II/lac/petsc_compatibility.h | 9 ----- include/deal.II/lac/trilinos_vector_base.h | 39 ------------------- include/deal.II/multigrid/mg_dof_accessor.h | 22 ----------- ...s_compute_mesh_predicate_bounding_box_1.cc | 1 - 6 files changed, 101 deletions(-) delete mode 100644 include/deal.II/base/tensor_base.h delete mode 100644 include/deal.II/distributed/grid_tools.h delete mode 100644 include/deal.II/lac/trilinos_vector_base.h delete mode 100644 include/deal.II/multigrid/mg_dof_accessor.h diff --git a/include/deal.II/base/tensor_base.h b/include/deal.II/base/tensor_base.h deleted file mode 100644 index 0287562152..0000000000 --- a/include/deal.II/base/tensor_base.h +++ /dev/null @@ -1,7 +0,0 @@ -#ifndef dealii_tensor_base_h -#define dealii_tensor_base_h -#warning This file is deprecated. Use instead. - -# include - -#endif diff --git a/include/deal.II/distributed/grid_tools.h b/include/deal.II/distributed/grid_tools.h deleted file mode 100644 index ca8d1d3f91..0000000000 --- a/include/deal.II/distributed/grid_tools.h +++ /dev/null @@ -1,23 +0,0 @@ -// --------------------------------------------------------------------- -// -// Copyright (C) 2017 by the deal.II authors -// -// This file is part of the deal.II library. -// -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE at -// the top level of the deal.II distribution. -// -// --------------------------------------------------------------------- - -#ifndef dealii_distributed_grid_tools_h -#define dealii_distributed_grid_tools_h - -#warning "This file is deprecated and will be removed after the 9.0 release. Use instead and remove 'parallel::'." - -#include - -#endif // dealii_distributed_grid_tools_h diff --git a/include/deal.II/lac/petsc_compatibility.h b/include/deal.II/lac/petsc_compatibility.h index ae0ebb475e..4e2d8e5c5a 100644 --- a/include/deal.II/lac/petsc_compatibility.h +++ b/include/deal.II/lac/petsc_compatibility.h @@ -36,15 +36,6 @@ DEAL_II_NAMESPACE_OPEN namespace PETScWrappers { - /** - * a compatibility typedef for older versions of PETSc. - * - * @deprecated The name of this type changed in PETSc 3.2: deal.II does not - * support versions of PETSc older than this so this typedef will be removed - * in a future release. - */ - typedef PetscBool PetscBooleanType DEAL_II_DEPRECATED; - /** * Set an option in the global PETSc database. This function just wraps * PetscOptionsSetValue with a version check (the signature of this function diff --git a/include/deal.II/lac/trilinos_vector_base.h b/include/deal.II/lac/trilinos_vector_base.h deleted file mode 100644 index ebc27c2db5..0000000000 --- a/include/deal.II/lac/trilinos_vector_base.h +++ /dev/null @@ -1,39 +0,0 @@ -// --------------------------------------------------------------------- -// -// Copyright (C) 2008 - 2017 by the deal.II authors -// -// This file is part of the deal.II library. -// -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE at -// the top level of the deal.II distribution. -// -// --------------------------------------------------------------------- - -#ifndef dealii_trilinos_vector_base_h -#define dealii_trilinos_vector_base_h - -#warning This file is deprecated. Use instead. - -#include -#include - -DEAL_II_NAMESPACE_OPEN - -#ifdef DEAL_II_WITH_TRILINOS -namespace TrilinosWrappers -{ - // All functionality from the former base class VectorBase was moved to - // MPI::Vector as this ended up to be the only derived class. - // Hence, using the class VectorBase is deprecated and we only provide - // an alias for backward compatibility. - typedef MPI::Vector VectorBase DEAL_II_DEPRECATED; -} -#endif - -DEAL_II_NAMESPACE_CLOSE - -#endif // dealii_trilinos_vector_base_h diff --git a/include/deal.II/multigrid/mg_dof_accessor.h b/include/deal.II/multigrid/mg_dof_accessor.h deleted file mode 100644 index 7d3f0aa9b4..0000000000 --- a/include/deal.II/multigrid/mg_dof_accessor.h +++ /dev/null @@ -1,22 +0,0 @@ -// --------------------------------------------------------------------- -// -// Copyright (C) 1998 - 2017 by the deal.II authors -// -// This file is part of the deal.II library. -// -// The deal.II library is free software; you can use it, redistribute -// it, and/or modify it under the terms of the GNU Lesser General -// Public License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// The full text of the license can be found in the file LICENSE at -// the top level of the deal.II distribution. -// -// --------------------------------------------------------------------- - -#ifndef dealii_mg_dof_accessor_h -#define dealii_mg_dof_accessor_h - -#warning This file is deprecated. Use instead. -#include - -#endif diff --git a/tests/grid/grid_tools_compute_mesh_predicate_bounding_box_1.cc b/tests/grid/grid_tools_compute_mesh_predicate_bounding_box_1.cc index 6b11375a0a..e78175a026 100644 --- a/tests/grid/grid_tools_compute_mesh_predicate_bounding_box_1.cc +++ b/tests/grid/grid_tools_compute_mesh_predicate_bounding_box_1.cc @@ -29,7 +29,6 @@ #include #include #include -#include #include // predicate: test if the cell is locally owned -- 2.39.5