Skip to content
Snippets Groups Projects
Commit 5b0285d4 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[SuperLU] Remove support for SuperLU older then August 2005

It was already deprecated and disabled for quite some time.
parent 4e461be4
No related branches found
No related tags found
1 merge request!14Feature/issue4 remove support superlu older 4.0
......@@ -34,9 +34,6 @@
/* Define to ENABLE_ARPACKPP if the ARPACK++ library is available */
#cmakedefine HAVE_ARPACKPP ENABLE_ARPACKPP
/* define to 1 because older versions of SuperLU are no longer supported*/
#define SUPERLU_POST_2005_VERSION 1
/* Define to 1 if 'expansions' is a member of 'mem_usage_t'. */
#cmakedefine HAVE_MEM_USAGE_T_EXPANSIONS @HAVE_MEM_USAGE_T_EXPANSIONS@
......
......@@ -13,7 +13,6 @@
#ifndef SUPERLU_NTYPE
#define SUPERLU_NTYPE 1
#endif
#ifdef SUPERLU_POST_2005_VERSION
#if SUPERLU_NTYPE==0
#include "slu_sdefs.h"
......@@ -31,26 +30,6 @@
#include "slu_zdefs.h"
#endif
#else
#if SUPERLU_NTYPE==0
#include "ssp_defs.h"
#endif
#if SUPERLU_NTYPE==1
#include "dsp_defs.h"
#warning Support for SuperLU older than SuperLU 3.0 from August 2005 is deprecated.
#endif
#if SUPERLU_NTYPE==2
#include "csp_defs.h"
#endif
#if SUPERLU_NTYPE>=3
#include "zsp_defs.h"
#endif
#endif
#include "solvers.hh"
#include "supermatrix.hh"
#include <algorithm>
......
......@@ -4,7 +4,6 @@
#define DUNE_ISTL_SUPERMATRIX_HH
#if HAVE_SUPERLU
#ifdef SUPERLU_POST_2005_VERSION
#ifndef SUPERLU_NTYPE
#define SUPERLU_NTYPE 1
......@@ -26,25 +25,6 @@
#include "slu_zdefs.h"
#endif
#else
#if SUPERLU_NTYPE==0
#include "ssp_defs.h"
#endif
#if SUPERLU_NTYPE==1
#include "dsp_defs.h"
#endif
#if SUPERLU_NTYPE==2
#include "csp_defs.h"
#endif
#if SUPERLU_NTYPE>=3
#include "zsp_defs.h"
#endif
#endif
#include "bcrsmatrix.hh"
#include "bvector.hh"
#include <dune/common/fmatrix.hh>
......@@ -350,5 +330,5 @@ namespace Dune
SuperLUMatrix* slumat;
};
}
#endif
#endif // HAVE_SUPERLU
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment