50 #include "Epetra_MpiComm.h" 
   52 #include "Epetra_SerialComm.h" 
   54 #include "Epetra_CrsMatrix.h" 
   55 #include "Epetra_Vector.h" 
   56 #include "Epetra_LinearProblem.h" 
   57 #include "Epetra_Map.h" 
   58 #include "Galeri_Maps.h" 
   59 #include "Galeri_CrsMatrices.h" 
   60  #include "Teuchos_ParameterList.hpp" 
   61 #include "Teuchos_RefCountPtr.hpp" 
   65 #ifdef HAVE_IFPACK_AMESOS 
   76 int main(
int argc, 
char *argv[])
 
   79   MPI_Init(&argc,&argv);
 
   87   GaleriList.
set(
"n", n);
 
   88   Teuchos::RefCountPtr<Epetra_Map> Map = 
Teuchos::rcp( Galeri::CreateMap(
"Linear", Comm, GaleriList) );
 
   89   Teuchos::RefCountPtr<Epetra_CrsMatrix> 
A = 
Teuchos::rcp( Galeri::CreateCrsMatrix(
"Minij", &*Map, GaleriList) );
 
   92   Teuchos::RefCountPtr<Ifpack_Preconditioner> Prec;
 
  166 #ifdef HAVE_IFPACK_AMESOS 
  202 #if defined (HAVE_IFPACK_SUPPORTGRAPH) && defined (HAVE_IFPACK_AMESOS) 
  214 #ifdef HAVE_IFPACK_SUPPORTGRAPH 
  224   if (Comm.
MyPID() == 0)
 
  225     cout << 
"Test `PrecondititonerFactory.exe' passed!" << endl;
 
  233   return(EXIT_SUCCESS);
 
ParameterList & set(std::string const &name, T &&value, std::string const &docString="", RCP< const ParameterEntryValidator > const &validator=null)
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
int main(int argc, char *argv[])
Ifpack: a function class to define Ifpack preconditioners. 
static Ifpack_Preconditioner * Create(EPrecType PrecType, Epetra_RowMatrix *Matrix, const int overlap=0, bool overrideSerialDefault=false)
Creates an instance of Ifpack_Preconditioner given the enum value of the preconditioner type (can not...
#define IFPACK_CHK_ERR(ifpack_err)