template <>
void Triangulation<2>::create_triangulation (const std::vector<Point<2> > &v,
- const std::vector<CellData<2> > &c,
+ const std::vector<CellData<2> > &cells,
const SubCellData &subcelldata)
{
const unsigned int dim=2;
vertices = v;
vertices_used = std::vector<bool> (v.size(), true);
- // copy cells. This is needed since
- // we may need to change entries
- std::vector<CellData<2> > cells(c);
-
-
// make up a list of the needed
// lines each line is a pair of
// vertices. The list is kept
template <>
void
Triangulation<3>::create_triangulation (const std::vector<Point<3> > &v,
- const std::vector<CellData<3> > &c,
+ const std::vector<CellData<3> > &cells,
const SubCellData &subcelldata)
{
const unsigned int dim=3;
vertices = v;
vertices_used = std::vector<bool> (v.size(), true);
- // copy cells. This is needed since
- // we may need to change entries
- std::vector<CellData<3> > cells(c);
-
///////////////////////////////////////
// first set up some collections of data
//