mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
RectangularMatrix: Removed the identity function (now in SquareMatrix)
This commit is contained in:
@ -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
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user