<br>
<em>With headers in <code>deal.II/lac/</code>:</em>
- - The deprecated constructor of SparseILU.
- - SparseILU::apply_decomposition.
- - The deprecated constructor of SparseMIC.
+ - The deprecated constructors of SparseMIC,
+ SparseILU, and SparseLUDecomposition.
- SparseMIC::decompose and SparseILU::decompose.
- - SparseMIC::reinit.
+ - SparseMIC::reinit and SparseLUDecomposition::reinit.
+ - SparseILU::apply_decomposition.
- The compress() functions without argument in the various vector
classes. You should use the versions with a VectorOperation
argument instead.
// ---------------------------------------------------------------------
//
-// Copyright (C) 2002 - 2014 by the deal.II authors
+// Copyright (C) 2002 - 2015 by the deal.II authors
//
// This file is part of the deal.II library.
//
*/
SparseLUDecomposition ();
- /**
- * @deprecated This method is deprecated, and left for backward
- * compatibility. It will be removed in later versions. Instead, pass the
- * sparsity pattern that you want used for the decomposition in the
- * AdditionalData structure.
- */
- SparseLUDecomposition (const SparsityPattern &sparsity) DEAL_II_DEPRECATED;
-
public:
/**
* Declare type for container size.
void initialize (const SparseMatrix<somenumber> &matrix,
const AdditionalData parameters);
- /**
- * This method is deprecated, and left for backward compatibility. It will
- * be removed in later versions.
- *
- * @deprecated
- */
- void reinit (const SparsityPattern &sparsity) DEAL_II_DEPRECATED;
-
/**
* This method is deprecated, and left for backward compability. It will be
* removed in later versions.
// ---------------------------------------------------------------------
//
-// Copyright (C) 2002 - 2014 by the deal.II authors
+// Copyright (C) 2002 - 2015 by the deal.II authors
//
// This file is part of the deal.II library.
//
-template<typename number>
-SparseLUDecomposition<number>::
-SparseLUDecomposition (const SparsityPattern &sparsity) :
- SparseMatrix<number>(sparsity),
- decomposed(false),
- own_sparsity(0)
-{}
-
-
-
template<typename number>
SparseLUDecomposition<number>::~SparseLUDecomposition()
{
-template <typename number>
-void SparseLUDecomposition<number>::reinit (const SparsityPattern &sparsity)
-{
- Assert (sparsity.n_rows() == sparsity.n_cols(),
- typename SparsityPattern::ExcDiagonalNotOptimized());
- decomposed = false;
- {
- std::vector<const size_type *> tmp;
- tmp.swap (prebuilt_lower_bound);
- }
- SparseMatrix<number>::reinit (sparsity);
-}
-
-
-
template<typename number>
void
SparseLUDecomposition<number>::prebuild_lower_bound()