Salome HOME
Adding element generation with cartesian core and global physical size
[plugins/hybridplugin.git] / src / HYBRIDPlugin / HYBRIDPluginBuilder.py
index a84a91bfca3350f3b0ef19e6978f4da6c0c1e7d2..574f151b9ce9bad5b7b6f78273e3a0b18b459a5c 100644 (file)
@@ -46,7 +46,7 @@ Decrease_Collision_Mode, Stop_Collision_Mode = 0,1
 Layer_Growth_Inward, Layer_Growth_Outward = 0,1
 
 # Mesh with element type Tetra Dominant or hexa Dominant in the remaining volume (outside layers).
-Generation_Tetra_Dominant, Generation_Hexa_Dominant = 0,1
+Generation_Tetra_Dominant, Generation_Hexa_Dominant, Generation_Cartesian_Core = 0,1,2
 
 #----------------------------
 # Mesh algo type identifiers
@@ -187,6 +187,7 @@ class HYBRID_Algorithm(Mesh_Algorithm):
     #  @param mode, one of the following values
     #  - Generation_Tetra_Dominant
     #  - Generation_Hexa_Dominant
+    #  - Generation_Cartesian_Core
     #  .
     # Default is Generation_Tetra_Dominant
     def SetElementGeneration(self, mode):
@@ -221,6 +222,13 @@ class HYBRID_Algorithm(Mesh_Algorithm):
         self.Parameters().SetBoundaryLayersProgression(boundaryLayersProgression)
         pass
 
+    ## Set core elements size.
+    # Default is 0.0
+    # @param CoreSize double value
+    def SetCoreSize(self, CoreSize):
+        self.Parameters().SetCoreSize(CoreSize)
+        pass
+
     ## To set multinormals angle threshold at opening ridges.
     # Default is 30.0
     # @param multinormalsAngle double value