The following is the code for solving elasticity (linear) problem on a simple square mesh. I took this from an old launchpad question.
It shows the following error when run:
page@Jarvis:~$ python 2D_Elasticity_node.py
Traceback (most recent call last):
File "2D_Elasticity_node.py", line 38, in
File "/usr/lib/python2.7/dist-packages/dolfin/cpp/mesh.py", line 4623, in mark
TypeError: SWIG director type mismatch expected 'bool' as the output argument of 'inside'
I can't see anything wrong with that statement as I have confirmed the domain coding from the following fenics documentation:
Pls. help. Thanks