This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

get diameter of ufc::cell

+1 vote

Some time ago, it was possible to get the diameter of a ufc::cell via
cell.diameter()
This doesn't work anymore. Any alternatives?

asked Jun 28, 2017 by nschloe FEniCS User (7,120 points)

2 Answers

+1 vote

Hello,

I'm using cell.circumradius(), and from that calculating the diameter...

Regards,
Leonardo

answered Jul 6, 2017 by lhdamiani FEniCS User (2,580 points)
...