Describe an axis-aligned cuboid for mesh tag assignment.
More...
|
| def | __init__ (self, lowerleft=(0., 0., 0), upperright=(0., 0., 0.), tag=None, bath=0) |
| |
| def | __call__ (self, coord) |
| |
| def | __init__ (self, tag=None, bath=0, rtype=0, p0=(0., 0., 0.), p1=(0., 0., 0.), radius=0., ctype=None) |
| |
| def | mesher_opts (self, i) |
| | Generate the mesher option list for this region. More...
|
| |
| def | carp_opts (self, i) |
| | Generate the carp option list for this tag region. More...
|
| |
| def | __call__ (self, coord) |
| | Reimplement with logic determining if coord (mm) is in the region. More...
|
| |
Describe an axis-aligned cuboid for mesh tag assignment.
- Note
- !!!mesher assumes the boxes to be relative to the center of the mesh!!!
- Parameters
-
| lowerleft | array-like, optional Lower left corner of the box region, defaults to (0,0,0) |
| upperright | array-like, optional Upper right corner of the box region, defaults to (0,0,0) |
| tag | int, optional Tag ID to assign to this region, defaults to auto assign by mesher |
| bath | int, optional |
| 0 | no bath, 1 - isotropic bath, 2 - anisotropic bath, default is 0 |
◆ __init__()
| def carputils.mesh.region.BoxRegion.__init__ |
( |
|
self, |
|
|
|
lowerleft = (0., 0., 0), |
|
|
|
upperright = (0., 0., 0.), |
|
|
|
tag = None, |
|
|
|
bath = 0 |
|
) |
| |
◆ __call__()
| def carputils.mesh.region.BoxRegion.__call__ |
( |
|
self, |
|
|
|
coord |
|
) |
| |
The documentation for this class was generated from the following file: