Epetra_CrsMatrix*, and NumPDEs the dimension of each block in the resulting VBR matrix. The creation of the Epetra_VbrMatrix is performed by the following code: #include "Galeri_Utils.h" ... Epetra_VbrMatrix* VbrMatrix = 0; VbrMatrix = Galeri.Create(CrsMatrix, NumDPEs);
#include "Galeri_Utils.h"
...
string CoordType = "2D";
Epetra_Map* Map; // already created
Teuchos::ParameterList List;
List.set("nx", 10);
List.set("ny", 10);
List.set("lx", 1.0); // length of X-axis
List.set("ly", 1.0); // length of Y-axis
Epetra_MultiVector* Coord = 0;
Coord = Galeri.CreateCartesianCoordinates(CoordType, Map, List);
CoordType are "1D" and "3D".
1.3.9.1