Loading src/implementation/matrices/tnlMatrixReader_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ template< typename Matrix > bool tnlMatrixReader< Matrix >::readMtxFile( const tnlString& fileName, Matrix& matrix, bool verbose, bool symReader = false ) bool symReader ) { fstream file; file.open( fileName.getString(), ios::in ); Loading src/matrices/tnlMatrixReader.h +8 −4 Original line number Diff line number Diff line Loading @@ -36,16 +36,19 @@ class tnlMatrixReader static bool readMtxFile( const tnlString& fileName, Matrix& matrix, bool verbose = false ); bool verbose = false, bool symReader = false ); static bool readMtxFile( std::istream& file, Matrix& matrix, bool verbose = false ); bool verbose = false, bool symReader = false ); static bool readMtxFileHostMatrix( std::istream& file, Matrix& matrix, typename Matrix::RowLengthsVector& rowLengths, bool verbose ); bool verbose bool symReader ); static bool verifyMtxFile( std::istream& file, Loading Loading @@ -78,7 +81,8 @@ class tnlMatrixReader static bool readMatrixElementsFromMtxFile( std::istream& file, Matrix& matrix, bool symmetricMatrix, bool verbose ); bool verbose, bool symReader ); static bool parseMtxLineWithElement( const tnlString& line, IndexType& row, Loading Loading
src/implementation/matrices/tnlMatrixReader_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ template< typename Matrix > bool tnlMatrixReader< Matrix >::readMtxFile( const tnlString& fileName, Matrix& matrix, bool verbose, bool symReader = false ) bool symReader ) { fstream file; file.open( fileName.getString(), ios::in ); Loading
src/matrices/tnlMatrixReader.h +8 −4 Original line number Diff line number Diff line Loading @@ -36,16 +36,19 @@ class tnlMatrixReader static bool readMtxFile( const tnlString& fileName, Matrix& matrix, bool verbose = false ); bool verbose = false, bool symReader = false ); static bool readMtxFile( std::istream& file, Matrix& matrix, bool verbose = false ); bool verbose = false, bool symReader = false ); static bool readMtxFileHostMatrix( std::istream& file, Matrix& matrix, typename Matrix::RowLengthsVector& rowLengths, bool verbose ); bool verbose bool symReader ); static bool verifyMtxFile( std::istream& file, Loading Loading @@ -78,7 +81,8 @@ class tnlMatrixReader static bool readMatrixElementsFromMtxFile( std::istream& file, Matrix& matrix, bool symmetricMatrix, bool verbose ); bool verbose, bool symReader ); static bool parseMtxLineWithElement( const tnlString& line, IndexType& row, Loading