Geometry types¶
These elements are are placed directly in the :xml:tag`geometry` section. All other elements must be put inside one of these geometries.
-
<cartesian2d>
¶ Corresponding Python class:
plask.geometry.Cartesian2D
.Two-dimensional Cartesian geometry.
Attributes: - name – Geometry name for further reference. In the
script
section, the geometry is available byGEO
table, which is indexed by names of geometry objects. (unique identifier string) - axes – Specification of the axes. Most popular values are
xy
,yz
,rz
(letters are names of the horizontal and vertical axis, respectively). - length – Longitudinal dimension of the geometry (float, µm).: Default value is: +inf.
- bottom – Specification of the bottom border. (any material name,
mirror
,periodic
, orextend
) - left – Specification of the left border. (any material name,
mirror
,periodic
, orextend
) - right – Specification of the right border. (any material name,
mirror
,periodic
, orextend
) - top – Specification of the top border. (any material name,
mirror
,periodic
, orextend
) - borders – Specification of all borders. (any material name,
mirror
,periodic
, orextend
) - planar – Specification of all planar borders, i.e. all borders except top-bottom. (any material name,
mirror
,periodic
, orextend
) - {axis}-lo – where {axis} is the name of axis: Specification of lower border in {axis} direction. Alias to
bottom
orleft
. (any material name,mirror
,periodic
, orextend
) - {axis}-hi – where {axis} is the name of axis: Specification of higher border in {axis} direction. Alias to
top
orright
. (any material name,mirror
,periodic
, orextend
)
- Contents:
- Any object from section Geometry objects 2D. If
length
was not givenextrusion
is also accepted.
- name – Geometry name for further reference. In the
-
<cylindrical2d>
(or <cylindrical>)
¶ Corresponding Python class:
plask.geometry.Cylindrical
.Two-dimensional cylindrical geometry.
Attributes: - name – Geometry name for further reference. In the
script
section, the geometry is available byGEO
table, which is indexed by names of geometry objects. (unique identifier string) - axes – Specification of the axes. Most popular values are
xy
,yz
,rz
(letters are names of the horizontal and vertical axis, respectively). - bottom – Specification of the bottom border. (any material name,
mirror
,periodic
, orextend
) - inner – Specification of the inner radical border. (any material name,
mirror
,periodic
, orextend
) - outer – Specification of the outer radical border. (any material name,
mirror
,periodic
, orextend
) - top – Specification of the top border. (any material name,
mirror
,periodic
, orextend
) - borders – Specification of all borders. (any material name,
mirror
,periodic
, orextend
) - planar – Specification of all planar borders, i.e. all borders except top-bottom. (any material name,
mirror
,periodic
, orextend
) - {axis}-lo – where {axis} is the name of axis: Specification of lower border in {axis} direction. Alias to
bottom
orinner
. (any material name,mirror
,periodic
, orextend
) - {axis}-hi – where {axis} is the name of axis: Specification of higher border in {axis} direction. Alias to
top
orouter
. (any material name,mirror
,periodic
, orextend
)
- Contents:
- Any object from section Geometry objects 2D or
revolution
.
- name – Geometry name for further reference. In the
-
<cartesian3d>
¶ Corresponding Python class:
plask.geometry.Cartesian3D
.Three-dimensional Cartesian geometry.
Attributes: - name – Geometry name for further reference. In the
script
section, the geometry is available byGEO
table, which is indexed by names of geometry objects. (unique identifier string) - axes – Specification of the axes. Most popular values are
xy
,yz
,rz
(letters are names of the horizontal and vertical axis, respectively). - back – Specification of the back border. (any material name,
mirror
,periodic
, orextend
) - bottom – Specification of the bottom border. (any material name,
mirror
,periodic
, orextend
) - front – Specification of the front border. (any material name,
mirror
,periodic
, orextend
) - left – Specification of the left border. (any material name,
mirror
,periodic
, orextend
) - right – Specification of the right border. (any material name,
mirror
,periodic
, orextend
) - top – Specification of the top border. (any material name,
mirror
,periodic
, orextend
) - borders – Specification of all borders. (any material name,
mirror
,periodic
, orextend
) - planar – Specification of all planar borders, i.e. all borders except top-bottom. (any material name,
mirror
,periodic
, orextend
) - {axis}-lo – where {axis} is the name of axis: Specification of lower border in {axis} direction. Alias to
back
,bottom
orleft
. (any material name,mirror
,periodic
, orextend
) - {axis}-hi – where {axis} is the name of axis: Specification of higher border in {axis} direction. Alias to
front
,top
orright
. (any material name,mirror
,periodic
, orextend
)
- Contents:
- Any object from section Geometry objects 3D.
- name – Geometry name for further reference. In the