BoxMesh¶
-
class
dolfin.cpp.mesh.BoxMesh(*args)¶ Bases:
dolfin.cpp.mesh.MeshTetrahedral mesh of the 3D rectangular prism spanned by two points p0 and p1. Given the number of cells (nx, ny, nz) in each direction, the total number of tetrahedra will be 6*nx*ny*nz and the total number of vertices will be (nx + 1)*(ny + 1)*(nz + 1).
Overloaded versions
BoxMesh(p0, p1, nx, ny, nz)
Create a uniform finite element
Meshover the rectangular prism spanned by the two _Point_s p0 and p1. The order of the two points is not important in terms of minimum and maximum coordinates.BoxMesh(comm, p0, p1, nx, ny, nz)
Create a uniform finite element
Meshover the rectangular prism spanned by the two _Point_s p0 and p1. The order of the two points is not important in terms of minimum and maximum coordinates.
-
thisown¶ The membership flag