Commit f9a176d4 authored by Libor Bakajsa's avatar Libor Bakajsa
Browse files

symReader

parent 955a4e5a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 );
+8 −4
Original line number Diff line number Diff line
@@ -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,
@@ -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,