22
27
editor.open(*this, CellType::interval, 1, 1);
24
29
// Create vertices and cells:
29
34
for (uint ix = 0; ix <= nx; ix++)
31
36
const double x = static_cast<double>(ix) / static_cast<double>(nx);
36
41
for (uint ix = 0; ix < nx; ix++) {
45
53
//-----------------------------------------------------------------------------