1
$\begingroup$

while executing my script i get this error

Traceback (most recent call last): File "/media/oss/Fenics/demo/box_3delasticity.py", line 33, in mesh = Box (0, 0, 0, 1, 1, 1, 1, 1, 1) File "/usr/lib/python2.7/dist-packages/dolfin/cpp/mesh.py", line 8698, in init _mesh.Box_swiginit(self,_mesh.new_Box(*args)

I don't know exactly how to fix this bug??

$\endgroup$
1
  • 2
    $\begingroup$ Please, deliver the error message too - not only the traceback. And you probably have to provide more information on what you are actually trying to do. $\endgroup$
    – Jan
    Commented May 20, 2013 at 11:54

1 Answer 1

1
$\begingroup$

Try this:

mesh = BoxMesh(0, 0, 0, 1, 1, 1, 1, 1, 1)

The name of the class has been changed from Box to BoxMesh.

The class Box is now something different: a geometric primitive which can be used for defining and geometries used as input for the DOLFIN mesh generator.

$\endgroup$
1
  • $\begingroup$ thnks it solved my problem $\endgroup$
    – nickrocks
    Commented May 20, 2013 at 18:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.