10 #include "Galeri_Maps.h"
11 #include "Galeri_CrsMatrices.h"
12 #include "Galeri_VbrMatrices.h"
24 using namespace Galeri;
30 int main(
int argc,
char* argv[])
33 MPI_Init(&argc, &argv);
54 Map = CreateMap(
"Linear", Comm, GaleriList);
57 CrsMatrix = CreateCrsMatrix(
"Diag", Map, GaleriList);
61 VbrMatrix = CreateVbrMatrix(CrsMatrix, 2);
71 catch (Exception& rhs)
73 if (Comm.
MyPID() == 0)
75 cerr <<
"Caught exception: ";
ParameterList & set(std::string const &name, T &&value, std::string const &docString="", RCP< const ParameterEntryValidator > const &validator=null)
virtual void Print(std::ostream &os) const
int main(int argc, char *argv[])