// and the rest of those on the
// upper surface
vertices.push_back (Point<3>(0,0,0));
- for (unsigned int i=0; i<8; ++i)
+ for (unsigned int i=0; i<7; ++i)
vertices.push_back (outer_points[i]);
// then points on lower surface
vertices.push_back (Point<3>(0,0,-1));
- for (unsigned int i=0; i<8; ++i)
+ for (unsigned int i=0; i<7; ++i)
vertices.push_back (outer_points[i]
+
Point<3>(0,0,-1));
- const unsigned int n_vertices_per_surface = 9;
+ const unsigned int n_vertices_per_surface = 8;
Assert (vertices.size() == n_vertices_per_surface*2,
ExcInternalError());
// vertices of the upper surface,
// the lower ones are the same
// +12
- const unsigned int connectivity[4][4]
+ const unsigned int connectivity[3][4]
= { { 1, 2, 3, 0 },
{ 3, 4, 5, 0 },
- { 0, 5, 6, 7 },
- { 1, 0, 7, 8 } };
+ { 0, 5, 6, 7 } };
// now create cells out of this
- for (unsigned int i=0; i<4; ++i)
+ for (unsigned int i=0; i<3; ++i)
{
CellData<3> cell;
for (unsigned int j=0; j<4; ++j)