RectangularMatrix: Removed the identity function (now in SquareMatrix)

This commit is contained in:
Henry Weller
2016-03-25 22:35:03 +00:00
parent e3f3c03ca8
commit 04dcee7680
3 changed files with 2 additions and 23 deletions

View File

@ -77,22 +77,6 @@ inline Foam::RectangularMatrix<Type>::RectangularMatrix
{}
template<class Type>
inline Foam::RectangularMatrix<Type>::RectangularMatrix
(
const label n,
const Identity<Type>
)
:
Matrix<RectangularMatrix<Type>, Type>(n, n, Zero)
{
for (label i=0; i<n; i++)
{
this->operator()(i, i) = I;
}
}
template<class Type>
inline Foam::RectangularMatrix<Type>::RectangularMatrix
(