From 4adf069c1cd98142db056f1fd156b4c0fc4af63c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carsten=20Gr=C3=A4ser?= <graeser@dune-project.org> Date: Sun, 26 Jan 2025 21:49:31 +0100 Subject: [PATCH] [cleanup] Remove deprecated header arithmetic.hh This has been deprecated and superseded by `Dune::MatrixVector::` long time ago (about 8 years). --- dune/solvers/common/CMakeLists.txt | 1 - dune/solvers/common/arithmetic.hh | 30 ------------------------ dune/solvers/common/staticmatrixtools.hh | 2 -- 3 files changed, 33 deletions(-) delete mode 100644 dune/solvers/common/arithmetic.hh diff --git a/dune/solvers/common/CMakeLists.txt b/dune/solvers/common/CMakeLists.txt index b3d3fddc..5e1f8f12 100644 --- a/dune/solvers/common/CMakeLists.txt +++ b/dune/solvers/common/CMakeLists.txt @@ -1,5 +1,4 @@ install(FILES - arithmetic.hh boxconstraint.hh canignore.hh copyorreference.hh diff --git a/dune/solvers/common/arithmetic.hh b/dune/solvers/common/arithmetic.hh deleted file mode 100644 index 19b47860..00000000 --- a/dune/solvers/common/arithmetic.hh +++ /dev/null @@ -1,30 +0,0 @@ -// -*- tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- -// vi: set et ts=8 sw=4 sts=4: -#ifndef ARITHMETIC_HH -#define ARITHMETIC_HH - -#warning arithmetic.hh is deprecated, please use dune-matrix-vector instead! - -#include <dune/matrix-vector/axpy.hh> -#include <dune/matrix-vector/axy.hh> -#include <dune/matrix-vector/crossproduct.hh> -#include <dune/matrix-vector/matrixtraits.hh> -#include <dune/matrix-vector/promote.hh> -#include <dune/matrix-vector/scalartraits.hh> -#include <dune/matrix-vector/transpose.hh> - -namespace Arithmetic -{ - using Dune::MatrixVector::Promote; - using Dune::MatrixVector::ScalarTraits; - using Dune::MatrixVector::MatrixTraits; - using Dune::MatrixVector::Transposed; - using Dune::MatrixVector::addProduct; - using Dune::MatrixVector::subtractProduct; - using Dune::MatrixVector::crossProduct; - using Dune::MatrixVector::transpose; - using Dune::MatrixVector::Axy; - using Dune::MatrixVector::bmAxy; -} - -#endif diff --git a/dune/solvers/common/staticmatrixtools.hh b/dune/solvers/common/staticmatrixtools.hh index 31d9c96f..a5f1f6f7 100644 --- a/dune/solvers/common/staticmatrixtools.hh +++ b/dune/solvers/common/staticmatrixtools.hh @@ -16,8 +16,6 @@ #include <dune/matrix-vector/scalartraits.hh> #include <dune/matrix-vector/transformmatrix.hh> -#include "arithmetic.hh" - namespace StaticMatrix { // type promotion (smallest matrix that can hold the sum of two matrices ******************* -- GitLab