src/IJ_mv/HYPRE_IJMatrix.c
HYPRE_Int
HYPRE_IJMatrixGetObject(HYPRE_IJMatrix matrix,
                        void **object)
{
   hypre_IJMatrix *ijmatrix = (hypre_IJMatrix *)matrix;

   if (!ijmatrix)
   {
      hypre_error_in_arg(1);
      return hypre_error_flag;
   }

   *object = hypre_IJMatrixObject(ijmatrix);

   return hypre_error_flag;
}
/**
   Returns a pointer to an underlying ijmatrix type used to implement IJMatrix.
   Assumes that the implementation has an underlying matrix, so it would not
   work with a direct implementation of IJMatrix.

   @return integer error code
   @param IJMatrix [IN]
   The ijmatrix to be pointed to.
*/
Returns a pointer to an underlying ijmatrix type used to implement IJMatrix.
Assumes that the implementation has an underlying matrix, so it would not
work with a direct implementation of IJMatrix.
Returns a pointer to an underlying ijmatrix type used to implement IJMatrix . Assumes that the implementation has an underlying matrix so it would not work with a direct implementation of IJMatrix .
HYPRE_Int
HYPRE_IJMatrixGetObject(HYPRE_IJMatrix matrix,
                        void **object)
{
   hypre_IJMatrix *ijmatrix = (hypre_IJMatrix *)matrix;
   if (!ijmatrix)
   {
      hypre_error_in_arg(1);
      return hypre_error_flag;
   }
   *object = hypre_IJMatrixObject(ijmatrix);
   return hypre_error_flag;
}
HYPRE_Int HYPRE_IJMatrixGetObject ( HYPRE_IJMatrix matrix , void * * object ) { hypre_IJMatrix * ijmatrix = ( hypre_IJMatrix * ) matrix ; if ( ! ijmatrix ) { hypre_error_in_arg ( 1 ) ; return hypre_error_flag ; } * object = hypre_IJMatrixObject ( ijmatrix ) ; return hypre_error_flag ; }
Returns a pointer to an underlying ijmatrix type used to implement IJMatrix.
Returns a pointer to an underlying ijmatrix type used to implement IJMatrix .