Temporary fix: scalarSquareMatrix tools

This commit is contained in:
Hrvoje Jasak 2017-04-10 11:45:33 +01:00
parent 21d8588cc8
commit b8e061ec27
2 changed files with 13 additions and 5 deletions

View file

@ -47,7 +47,13 @@ Foam::scalarSquareMatrix::scalarSquareMatrix
{} {}
Foam::scalarSquareMatrix::scalarSquareMatrix(const scalarSquareMatrix& matrix) // Foam::scalarSquareMatrix::scalarSquareMatrix(const scalarSquareMatrix& matrix)
// :
// SquareMatrix<scalar>(matrix)
// {}
Foam::scalarSquareMatrix::scalarSquareMatrix(const SquareMatrix<scalar>& matrix)
: :
SquareMatrix<scalar>(matrix) SquareMatrix<scalar>(matrix)
{} {}

View file

@ -45,14 +45,13 @@ namespace Foam
{ {
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class scalarSquareMatrix Declaration Class scalarSquareMatrix Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
class scalarSquareMatrix class scalarSquareMatrix
: :
public SquareMatrix<scalar> public SquareMatrix<scalar>
{ {
public: public:
// Constructors // Constructors
@ -66,8 +65,11 @@ public:
//- Construct given size and coefficient value //- Construct given size and coefficient value
scalarSquareMatrix(const label, const scalar v); scalarSquareMatrix(const label, const scalar v);
//- Construct as copy // //- Construct as copy
scalarSquareMatrix(const scalarSquareMatrix&); // scalarSquareMatrix(const scalarSquareMatrix&);
//- Construct as copy of base
scalarSquareMatrix(const SquareMatrix<scalar>&);
//- Construct from Istream //- Construct from Istream
scalarSquareMatrix(Istream&); scalarSquareMatrix(Istream&);