|
carputils
Doxygen code documentation for the python framework controlling openCARP
|
Describe a sphere for mesh tag assignment. More...
Public Member Functions | |
| def | __init__ (self, radius=0., centre=(0., 0., 0.), tag=None, bath=0) |
| def | __call__ (self, coord) |
| Reimplement with logic determining if coord (mm) is in the region. More... | |
Public Member Functions inherited from carputils.mesh.region.Region | |
| 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... | |
Additional Inherited Members | |
Public Attributes inherited from carputils.mesh.region.Region | |
| tag | |
| bath | |
| rtype | |
| radius | |
| p0 | |
| p1 | |
| ctype | |
Describe a sphere for mesh tag assignment.
| radius | float, optional Radius of the sphere, defaults to 0 |
| centre | array-like, optional Centre of the sphere, 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 |
| def carputils.mesh.region.SphereRegion.__init__ | ( | self, | |
radius = 0., |
|||
centre = (0., 0., 0.), |
|||
tag = None, |
|||
bath = 0 |
|||
| ) |
| def carputils.mesh.region.SphereRegion.__call__ | ( | self, | |
| coord | |||
| ) |
Reimplement with logic determining if coord (mm) is in the region.
Reimplemented from carputils.mesh.region.Region.