Version: 8.3.0
Home
 All Data Structures Namespaces Files Functions Variables
GHS3DPRL_Algorithm Class Reference

Tetrahedron MG-Tetra_HPC 3D algorithm. More...

Inheritance diagram for GHS3DPRL_Algorithm:
Inheritance graph

Public Member Functions

def __init__
 Private constructor. More...
 
def Parameters
 Defines hypothesis having several parameters. More...
 
def SetKeepFiles
 To keep working files or remove them. More...
 
def SetMEDName
 Sets MED files name and path. More...
 
def SetNbPart
 Sets the number of partition of the initial mesh. More...
 
def SetBackground
 When big mesh, start tetra_hpc in background. More...
 
def SetMultithread
 use multithread version More...
 
def SetGradation
 To mesh "holes" in a solid or not. More...
 
def SetMinSize
 Sets the cell min size of the initial mesh. More...
 
def SetMaxSize
 Sets the cell max size of the initial mesh. More...
 
def SetAdvancedOption
 Sets command line option as text. More...
 

Data Fields

 params
 

Static Public Attributes

string meshMethod = "Tetrahedron"
 name of the dynamic method in smeshBuilder.Mesh class More...
 
 algoType = MG_Tetra_HPC
 type of algorithm used with helper function in smeshBuilder.Mesh class More...
 
string docHelper = "Creates tetrahedron 3D algorithm for volumes"
 doc string of the method in smeshBuilder.Mesh class More...
 

Detailed Description

Tetrahedron MG-Tetra_HPC 3D algorithm.

It can be created by calling smeshBuilder.Mesh.Tetrahedron( smeshBuilder.MG_Tetra_HPC )

Constructor & Destructor Documentation

def __init__ (   self,
  mesh,
  geom = 0 
)

Private constructor.

Parameters
meshparent mesh object algorithm is assigned to
geomgeometry (shape/sub-shape) algorithm is assigned to; if it is 0 (default), the algorithm is assigned to the main shape

References GHS3DPRL_Algorithm.algoType, and Mesh_Algorithm.Create().

Member Function Documentation

def Parameters (   self)

Defines hypothesis having several parameters.

Returns
hypothesis object

References Mesh_Algorithm.Hypothesis(), and GHS3DPRL_Algorithm.params.

def SetKeepFiles (   self,
  toKeep 
)

To keep working files or remove them.

Log file remains in case of errors anyway.

Parameters
toKeep"keep working files" flag value

References GHS3DPRL_Algorithm.Parameters().

def SetMEDName (   self,
  value 
)

Sets MED files name and path.

Parameters
valueMED file name

References GHS3DPRL_Algorithm.Parameters().

def SetNbPart (   self,
  value 
)

Sets the number of partition of the initial mesh.

Parameters
valuenumber of partition value

References GHS3DPRL_Algorithm.Parameters().

def SetBackground (   self,
  value 
)

When big mesh, start tetra_hpc in background.

Parameters
value"background mode" flag value

References GHS3DPRL_Algorithm.Parameters().

def SetMultithread (   self,
  value 
)

use multithread version

Parameters
value"multithread mode" flag value

References GHS3DPRL_Algorithm.Parameters().

def SetGradation (   self,
  value 
)

To mesh "holes" in a solid or not.

Default is to mesh.

Parameters
toMesh"mesh holes" flag value def SetToMeshHoles(self, toMesh): self.Parameters().SetToMeshHoles(toMesh) pass Sets the neigbour cell gradation of the initial mesh
valuenumber of partition value

References GHS3DPRL_Algorithm.Parameters().

def SetMinSize (   self,
  value 
)

Sets the cell min size of the initial mesh.

Parameters
valuenumber of partition value

References GHS3DPRL_Algorithm.Parameters().

def SetMaxSize (   self,
  value 
)

Sets the cell max size of the initial mesh.

Parameters
valuenumber of partition value

References GHS3DPRL_Algorithm.Parameters().

def SetAdvancedOption (   self,
  option 
)

Sets command line option as text.

Parameters
optioncommand line option

References GHS3DPRL_Algorithm.Parameters().

Field Documentation

string meshMethod = "Tetrahedron"
static

name of the dynamic method in smeshBuilder.Mesh class

algoType = MG_Tetra_HPC
static

type of algorithm used with helper function in smeshBuilder.Mesh class

string docHelper = "Creates tetrahedron 3D algorithm for volumes"
static

doc string of the method in smeshBuilder.Mesh class

params