Commit d82fd0bd authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Deleting performSORIteration method from the distributed matrix.

parent 36f368c7
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -118,13 +118,6 @@ public:
   vectorProduct( const InVector& inVector,
                  OutVector& outVector ) const;

   // FIXME: does not work for distributed matrices, here only due to common interface
   template< typename Vector1, typename Vector2 >
   void performSORIteration( const Vector1& b,
                             const IndexType row,
                             Vector2& x,
                             const RealType& omega = 1.0 ) const;

protected:
   LocalRangeType localRowRange;
   IndexType rows = 0;  // global rows count
+0 −12
Original line number Diff line number Diff line
@@ -266,17 +266,5 @@ vectorProduct( const InVector& inVector,
//   outVector.startSynchronization();
}

template< typename Matrix >
   template< typename Vector1, typename Vector2 >
void
DistributedMatrix< Matrix >::
performSORIteration( const Vector1& b,
                     const IndexType row,
                     Vector2& x,
                     const RealType& omega ) const
{
   getLocalMatrix().performSORIteration( b, row, x, omega );
}

} // namespace Matrices
} // namespace TNL