46
46
Sundance::init(&argc, &argv);
53
48
/* We will do our linear algebra using Epetra */
54
49
VectorType<double> vecType = new EpetraVectorType();
56
51
/* Create a mesh. It will be of type BasisSimplicialMesh, and will
57
52
* be built using a PartitionedLineMesher. */
59
54
MeshType meshType = new BasicSimplicialMeshType();
60
55
MeshSource mesher = new PartitionedLineMesher(0.0, 1.0, nx, meshType);
61
56
Mesh mesh = mesher.getMesh();