From 7e6b798871698ad2c113cb4686d279b8034011aa Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Wed, 28 Jun 2023 17:51:12 -0500 Subject: [PATCH] includes: remove VTK header files --- include/deal.II/base/config.h.in | 1 - include/deal.II/vtk/utilities.h | 81 -------------------------------- 2 files changed, 82 deletions(-) delete mode 100644 include/deal.II/vtk/utilities.h diff --git a/include/deal.II/base/config.h.in b/include/deal.II/base/config.h.in index 98ab0768ab..1363bc13ed 100644 --- a/include/deal.II/base/config.h.in +++ b/include/deal.II/base/config.h.in @@ -70,7 +70,6 @@ #cmakedefine DEAL_II_WITH_TRILINOS #cmakedefine DEAL_II_WITH_UMFPACK #cmakedefine DEAL_II_FEATURE_UMFPACK_BUNDLED_CONFIGURED -#cmakedefine DEAL_II_WITH_VTK #cmakedefine DEAL_II_WITH_ZLIB #ifdef DEAL_II_WITH_TBB diff --git a/include/deal.II/vtk/utilities.h b/include/deal.II/vtk/utilities.h deleted file mode 100644 index 10b316287b..0000000000 --- a/include/deal.II/vtk/utilities.h +++ /dev/null @@ -1,81 +0,0 @@ -// --------------------------------------------------------------------- -// -// Copyright (C) 2023 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.md at -// the top level directory of deal.II. -// -// --------------------------------------------------------------------- - -#ifndef dealii_vtk_utilities_h -#define dealii_vtk_utilities_h - -#include - -#include - -#ifdef DEAL_II_WITH_VTK - -# include - -DEAL_II_NAMESPACE_OPEN - -/** - * Interface to the Visualization Toolkit (VTK). - * - * VTK is an open-source, freely available software system for 3D computer - * graphics, modeling, image processing, volume rendering, scientific - * visualization, and 2D plotting. - - * It supports a wide variety of visualization algorithms and advanced - * modeling techniques, and it takes advantage of both threaded and distributed - * memory parallel processing for speed and scalability, respectively. - * - * You can learn more about the VTK library at https://vtk.org/ - */ -namespace VTKWrappers -{ - /** - * Convert from a deal.II Point to a VTK double array. - * - * @tparam dim Dimension of the point - * @param [in] p An input deal.II Point - * @return A VTK smart pointer to the data array. - */ - template - inline vtkSmartPointer - dealii_point_to_vtk_array(const dealii::Point &p); - -# ifndef DOXYGEN - // Template implementations - - template - inline vtkSmartPointer - dealii_point_to_vtk_array(const dealii::Point &p) - { - vtkSmartPointer p_vtk = - vtkSmartPointer::New(); - - p_vtk->SetNumberOfComponents(dim); - p_vtk->SetNumberOfTuples(1); - - for (int d = 0; d < dim; ++d) - p_vtk->FillComponent(d, p[d]); - - return p_vtk; - } - -# endif - -} // namespace VTKWrappers - -DEAL_II_NAMESPACE_CLOSE - -#endif -#endif -- 2.39.5