Rectangular3D Class¶
- class plask.mesh.Rectangular3D(axis0, axis1, axis2, ordering='012')¶
- class plask.mesh.Rectangular3D(geometry, ordering='012')
- class plask.mesh.Rectangular3D(ordering='012')
Three-dimensional mesh
create empty mesh
create mesh with axes supplied as mesh.OrderedAxis
create coarse mesh based on bounding boxes of geometry objects
ordering can be any a string containing any permutation of and specifies ordering of the mesh points (last index changing fastest).
Subclasses¶
Generic boundary specification for RectangularBase3D mesh |
|
Set of boundary conditions. |
|
Generator of Rectilinear3D mesh by simple division of the geometry. |
|
Element (FEM-like, rectangular) of the |
|
Element list in the |
|
Generator of Rectilinear3D mesh with lines at transverse edges of all objects and fine regular division of each object with spacing approximately equal to specified spacing |
|
Generator of Rectangular3D mesh with lines at edges of all objects. |
|
Generator of Rectilinear3D mesh with dense sampling at edges and smooth change of element size. |
Methods¶
|
Back side of the mesh for setting boundary conditions |
|
Boundary back of specified object |
|
Bottom side of the mesh for setting boundary conditions |
|
Boundary bottom of specified object |
|
Front side of the mesh for setting boundary conditions |
|
Boundary in front of specified object |
|
Left side of the mesh for setting boundary conditions |
|
Boundary left of specified object |
|
Right side of the mesh for setting boundary conditions |
|
Boundary right of specified object |
|
Top side of the mesh for setting boundary conditions |
|
Boundary top of specified object |
|
Make a copy of this mesh |
Get new mesh with points in the middles of of elements of this mesh |
|
|
Return single index of the point indexed with index0, index1, and index2 |
|
Return index in the first axis of the point with given index |
|
Return index in the second axis of the point with given index |
|
Return index in the third axis of the point with given index |
|
Return index in the major axis of the point with given index |
|
Return index in the middle axis of the point with given index |
|
Return index in the minor axis of the point with given index |
Set the optimal ordering of the points in this mesh |
Attributes¶
The first (longitudinal) axis of the mesh |
|
The second (transverse) axis of the mesh |
|
The third (vertical) axis of the mesh |
|
The first (longitudinal) axis of the mesh, alias for |
|
The second (transverse) axis of the mesh, alias for |
|
The third (vertical) axis of the mesh, alias for |
|
Element list in the mesh |
|
Alias for |
|
Alias for |
|
Alias for |
|
The slowest changing axis |
|
The middle changing axis |
|
The quickest changing axis |
|
Ordering of the points in this mesh |
Descriptions¶
Method Details¶
- Rectangular3D.Back()¶
Back side of the mesh for setting boundary conditions
- Rectangular3D.BackOf(object, path=None)¶
Boundary back of specified object
- Rectangular3D.Bottom()¶
Bottom side of the mesh for setting boundary conditions
- Rectangular3D.BottomOf(object, path=None)¶
Boundary bottom of specified object
- Rectangular3D.Front()¶
Front side of the mesh for setting boundary conditions
- Rectangular3D.FrontOf(object, path=None)¶
Boundary in front of specified object
- Rectangular3D.Left()¶
Left side of the mesh for setting boundary conditions
- Rectangular3D.LeftOf(object, path=None)¶
Boundary left of specified object
- Rectangular3D.Right()¶
Right side of the mesh for setting boundary conditions
- Rectangular3D.RightOf(object, path=None)¶
Boundary right of specified object
- Rectangular3D.Top()¶
Top side of the mesh for setting boundary conditions
- Rectangular3D.TopOf(object, path=None)¶
Boundary top of specified object
- Rectangular3D.copy()¶
Make a copy of this mesh
- Rectangular3D.get_midpoints()¶
Get new mesh with points in the middles of of elements of this mesh
- Rectangular3D.index(index0, index1, index2)¶
Return single index of the point indexed with index0, index1, and index2
- Rectangular3D.index0(index)¶
Return index in the first axis of the point with given index
- Rectangular3D.index1(index)¶
Return index in the second axis of the point with given index
- Rectangular3D.index2(index)¶
Return index in the third axis of the point with given index
- Rectangular3D.major_index(index)¶
Return index in the major axis of the point with given index
- Rectangular3D.middle_index(index)¶
Return index in the middle axis of the point with given index
- Rectangular3D.minor_index(index)¶
Return index in the minor axis of the point with given index
- Rectangular3D.set_optimal_ordering()¶
Set the optimal ordering of the points in this mesh
Attribute Details¶
- Rectangular3D.axis0 = <property object>¶
The first (longitudinal) axis of the mesh
- Rectangular3D.axis1 = <property object>¶
The second (transverse) axis of the mesh
- Rectangular3D.axis2 = <property object>¶
The third (vertical) axis of the mesh
- Rectangular3D.axis_long = <property object>¶
The first (longitudinal) axis of the mesh, alias for
axis0
- Rectangular3D.axis_tran = <property object>¶
The second (transverse) axis of the mesh, alias for
axis1
- Rectangular3D.dim = 3¶
- Rectangular3D.elements = <property object>¶
Element list in the mesh
- Rectangular3D.major_axis = <property object>¶
The slowest changing axis
- Rectangular3D.medium_axis = <property object>¶
The middle changing axis
- Rectangular3D.minor_axis = <property object>¶
The quickest changing axis
- Rectangular3D.ordering = <property object>¶
Ordering of the points in this mesh