#ifndef MLAPI_SAMIS_H
#define MLAPI_SAMIS_H
/*!
  \file MLAPI_SAMIS

  \brief Input matrix and kernel vectors from SAMIS format.

  \author Marzio Sala, SNL 9214 and Marian Brezina, UC Boulder.

  \date Last updated on Mar-05.
*/
/* ******************************************************************** */
/* See the file COPYRIGHT for a complete copyright notice, contact      */
/* person and disclaimer.                                               */        
/* ******************************************************************** */

#include "ml_common.h"

#include "ml_include.h"
#include <iostream>

namespace MLAPI {

class Operator;


  // ====================================================================== 
  //! Reads symmetric matrix from SAMIS binary format.
  // ====================================================================== 

  void ReadSAMISMatrix(const char *filen, Operator& A, int& NumPDEEqns);


  // ====================================================================== 
  //! Reads null space vectors from SAMIS binary format.
  // ====================================================================== 

  void ReadSAMISKernel(const char *myKerFileName, MultiVector& A, 
           const int limKer=-1 /* -in- limit num of kernels used */);

} // namespace MLAPI

#endif  // MLAPI_SAMIS_H
