|
carputils
Doxygen code documentation for the python framework controlling openCARP
|
Describe a cylinder for mesh tag assignment. More...
Public Member Functions | |
| def | __init__ (self, radius=0., start=(0., 0., 0.), axis=(0., 0., 0.), tag=None, bath=0) |
| def | __call__ (self, coord) |
| Reimplement with logic determining if coord (mm) is in the region. More... | |
| 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... | |
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) |
Public Attributes | |
| axis_mag | |
| normalised_axis | |
Public Attributes inherited from carputils.mesh.region.Region | |
| tag | |
| bath | |
| rtype | |
| radius | |
| p0 | |
| p1 | |
| ctype | |
Describe a cylinder for mesh tag assignment.
| start | array-like Starting point |
| axis | array-like axis of cylinder with magnitude being the length of the cylinder |
| 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.CylinderRegion.__init__ | ( | self, | |
radius = 0., |
|||
start = (0., 0., 0.), |
|||
axis = (0., 0., 0.), |
|||
tag = None, |
|||
bath = 0 |
|||
| ) |
| def carputils.mesh.region.CylinderRegion.__call__ | ( | self, | |
| coord | |||
| ) |
Reimplement with logic determining if coord (mm) is in the region.
Reimplemented from carputils.mesh.region.Region.
| def carputils.mesh.region.CylinderRegion.carp_opts | ( | self, | |
| i | |||
| ) |
Generate the carp option list for this tag region.
| i | int Index of mesh region. |
Reimplemented from carputils.mesh.region.Region.
| def carputils.mesh.region.CylinderRegion.mesher_opts | ( | self, | |
| i | |||
| ) |
Generate the mesher option list for this region.
| i | int Index of mesh region. |
Reimplemented from carputils.mesh.region.Region.
| carputils.mesh.region.CylinderRegion.axis_mag |
| carputils.mesh.region.CylinderRegion.normalised_axis |