Hi,
I run fenics 2016.1.0 under docker; - Windows 10
Received the following suggestion when running demo_hyperelasticity.py :
Expr.geometric_dimension() is deprecated, please use find_geometric_dimension(expr) instead.
However, when the deprecated statement was used: d = u.geometric_dimension(), the program worked okay.
To avoid this message, accordingly, I changed code from d = u.geometric_dimension() to
d = find_geometric_dimension(u) as suggested.
However the following error was output and the program terminated:
name 'find_geometric_dimension' is not defined
I looked at the following link on All classes and function in DOLFIN(Python) but did not see either of the statements.
https://fenicsproject.org/documentation/dolfin/2016.1.0/python/genindex.html
Any advice why the suggestion was rejected would be appreciated? The broader question is what document should I refer in future in similar situations to see the current specifications?
Thanks
vas