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

Creating a mesh consisting only of cubes

0 votes

Hello everybody!

To make sure my bilinear form is correct, I want to test it in a simple case, and use it for a mesh whose cells are cubes (and not tetrahedra).

Is there a simple function (similar to UnitCube) to create such a mesh or do I have to create my own using the MeshEditor?

Thanks a lot!
Vincent

asked Mar 24, 2014 by V_L FEniCS User (4,440 points)

1 Answer

+2 votes
 
Best answer

The MeshEditor wont help you much here, since dolfin does not support hexahedral elements.

answered Mar 24, 2014 by Christian Waluga FEniCS Expert (12,310 points)
selected Mar 24, 2014 by V_L

Thanks for the feedback! :)

...