Fixes need to restore capability to solve banded systems with nonlinear solver

This commit is contained in:
Harry Moffat 2014-08-05 23:11:58 +00:00
parent 9a9455a93a
commit cdec2e90c7
2 changed files with 15 additions and 0 deletions

View file

@ -301,6 +301,15 @@ public:
*/
virtual size_t checkColumns(doublereal& valueSmall) const;
//! Change the way the matrix is factored
/*!
* @param fAlgorithm integer
* 0 LU factorization
* 1 QR factorization
*/
virtual void useFactorAlgorithm(int fAlgorithm);
protected:
//! Matrix data

View file

@ -441,4 +441,10 @@ void BandMatrix::copyData(const GeneralMatrix& y)
(void) memcpy(DATA_PTR(data), yyPtr->ptrColumn(0), n);
}
void BandMatrix::useFactorAlgorithm(int fAlgorithm)
{
// useQR_ = fAlgorithm;
}
}