mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Add null constructor to DiagonalMatrix
This commit is contained in:
@ -27,6 +27,13 @@ License
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
inline Foam::DiagonalMatrix<Type>::DiagonalMatrix()
|
||||||
|
:
|
||||||
|
List<Type>()
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
template<class Form>
|
template<class Form>
|
||||||
Foam::DiagonalMatrix<Type>::DiagonalMatrix(const Matrix<Form, Type>& a)
|
Foam::DiagonalMatrix<Type>::DiagonalMatrix(const Matrix<Form, Type>& a)
|
||||||
|
|||||||
@ -60,6 +60,9 @@ public:
|
|||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
|
//- Null constructor.
|
||||||
|
DiagonalMatrix<Type>();
|
||||||
|
|
||||||
//- Construct from diagonal component of a Matrix
|
//- Construct from diagonal component of a Matrix
|
||||||
template<class Form>
|
template<class Form>
|
||||||
DiagonalMatrix<Type>(const Matrix<Form, Type>&);
|
DiagonalMatrix<Type>(const Matrix<Form, Type>&);
|
||||||
|
|||||||
Reference in New Issue
Block a user