Add private copy constructors to sparse solvers backends

This commit is contained in:
Desire NUENTSA
2012-03-29 19:19:12 +02:00
parent 2d35f88bcf
commit 5dbb646190
5 changed files with 40 additions and 0 deletions

View File

@@ -339,6 +339,9 @@ class PastixBase
mutable int m_amalgamation; // level of amalgamation
mutable int m_size; // Size of the matrix
private:
PastixBase(PastixBase& ) {}
};
/** Initialize the PaStiX data structure.
@@ -595,6 +598,9 @@ class PastixLU : public PastixBase< PastixLU<_MatrixType> >
using Base::m_dparm;
using Base::m_StrMatTrans;
using Base::m_hasTranspose;
private:
PastixLU(PastixLU& ) {}
};
/** \ingroup PaStiXSupport_Module
@@ -674,6 +680,9 @@ class PastixLLT : public PastixBase< PastixLLT<_MatrixType, _UpLo> >
}
protected:
using Base::m_iparm;
private:
PastixLLT(PastixLLT& ) {}
};
/** \ingroup PaStiXSupport_Module
@@ -756,6 +765,9 @@ public:
protected:
using Base::m_iparm;
private:
PastixLDLT(PastixLDLT& ) {}
};
namespace internal {