42 #include "Galeri_Maps.h"
43 #include "Galeri_CrsMatrices.h"
44 #include "Galeri_Utils.h"
55 using namespace Galeri;
61 int main(
int argc,
char* argv[])
64 MPI_Init(&argc, &argv);
79 GaleriList.
set(
"nx", nx);
80 GaleriList.
set(
"ny", ny);
86 #ifndef GALERI_TEST_USE_LONGLONG_GO
87 Map = CreateMap(
"Cartesian2D", Comm, GaleriList);
89 Map = CreateMap64(
"Cartesian2D", Comm, GaleriList);
93 Matrix = CreateCrsMatrix(
"Biharmonic2D", Map, GaleriList);
100 PrintStencil2D(Matrix, nx, ny, GID);
106 catch (Exception& rhs)
108 if (Comm.
MyPID() == 0)
110 cerr <<
"Caught exception: ";
119 return(EXIT_SUCCESS);
ParameterList & set(std::string const &name, T const &value, std::string const &docString="", RCP< const ParameterEntryValidator > const &validator=null)
virtual void Print(std::ostream &os) const
int main(int argc, char *argv[])