예제 #1
0
 def __init__(self, name, geometries, refinementMode, tolerance=-1,
              maxGridLines=512):
     """Init Butterfly geometry."""
     _mesh = MeshDS(geometries, tolerance, maxGridLines)
     self.__geometry = _mesh.geometry
     RefinementRegion.__init__(self, name, _mesh.vertices, _mesh.faceIndices,
                               _mesh.normals, refinementMode)
예제 #2
0
 def __init__(self,
              name,
              geometries,
              refinement_mode,
              meshing_parameters=None):
     """Init Butterfly geometry."""
     _mesh = MeshGH(geometries, meshing_parameters)
     self.__geometry = _mesh.geometry
     RefinementRegion.__init__(self, name, _mesh.vertices,
                               _mesh.face_indices, _mesh.normals,
                               refinement_mode)
 def __init__(self, name, geometries, refinementMode, meshingParameters=None):
     """Init Butterfly geometry."""
     _mesh = MeshGH(geometries, meshingParameters)
     self.__geometry = _mesh.geometry
     RefinementRegion.__init__(self, name, _mesh.vertices, _mesh.faceIndices,
                               _mesh.normals, refinementMode)