I'd like to loop over all edges of a simplex (in a mesh). To this end: How can I extract the the points from a cell?
This is for the eval
method of a C++ definition of an Expression
, i.e.,
void eval(Array<double>& v,
const Array<double>& x,
const ufc::cell& c
) const
{
Cell cell(*mesh, c.index);
// do something with cell?
}