Commit fa61a35c authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed interface of the DistributedMatrix

parent 9a6c3d4c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ public:

   // FIXME: does not work for distributed matrices, here only due to common interface
   template< typename Vector1, typename Vector2 >
   bool performSORIteration( const Vector1& b,
   void performSORIteration( const Vector1& b,
                             const IndexType row,
                             Vector2& x,
                             const RealType& omega = 1.0 ) const;
+2 −2
Original line number Diff line number Diff line
@@ -268,14 +268,14 @@ vectorProduct( const InVector& inVector,

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

} // namespace Matrices