carputils.mesh.BoxRegion

class carputils.mesh.BoxRegion(lowerleft=(0.0, 0.0, 0), upperright=(0.0, 0.0, 0.0), tag=None, bath=0)

Describe an axis-aligned cuboid for mesh tag assignment.

Note: !!!mesher assumes the boxes to be relative to the center of the mesh!!!

Args:
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