Version: 6.3.1
Home
Public Member Functions | Data Fields | Private Member Functions

Mesh_UseExistingElements Class Reference

Defines a Radial Quadrangle 1D2D algorithm. More...

Public Member Functions

def __init__
def SourceEdges
 Defines "Source edges" hypothesis, specifying groups of edges to import.
def SourceFaces
 Defines "Source faces" hypothesis, specifying groups of faces to import.
def FindHypothesis
 Finds a hypothesis in the study by its type name and parameters.
def FindAlgorithm
 Finds the algorithm in the study by its type name.
def GetSubMesh
 If the algorithm is global, returns 0;
else returns the submesh associated to this algorithm.
def GetAlgorithm
 Returns the wrapped mesher.
def GetCompatibleHypothesis
 Gets the list of hypothesis that can be used with this algorithm.
def GetName
 Gets the name of the algorithm.
def SetName
 Sets the name to the algorithm.
def GetId
 Gets the id of the algorithm.
def Create
 Private method.
def Assign
 Private method.
def CompareHyp
def CompareEqualHyp
def Hypothesis
 Private method.
def MainShapeEntry
 Returns entry of the shape to mesh in the study.
def ViscousLayers
 Defines "ViscousLayers" hypothesis to give parameters of layers of prisms to build near mesh boundary.

Data Fields

 mesh
 geom
 subm
 algo

Private Member Functions

def _compareHyp

Detailed Description

Defines a Radial Quadrangle 1D2D algorithm.


Constructor & Destructor Documentation

def __init__ (   self,
  dim,
  mesh,
  geom = 0 
)

Member Function Documentation

def SourceEdges (   self,
  groups,
  toCopyMesh = False,
  toCopyGroups = False,
  UseExisting = False 
)

Defines "Source edges" hypothesis, specifying groups of edges to import.

Parameters:
groupslist of groups of edges
toCopyMeshif True, the whole mesh groups belong to is imported
toCopyGroupsif True, all groups of the mesh groups belong to are imported
UseExistingif ==true - searches for the existing hypothesis created with the same parameters, else (default) - creates a new one
def SourceFaces (   self,
  groups,
  toCopyMesh = False,
  toCopyGroups = False,
  UseExisting = False 
)

Defines "Source faces" hypothesis, specifying groups of faces to import.

Parameters:
groupslist of groups of faces
toCopyMeshif True, the whole mesh groups belong to is imported
toCopyGroupsif True, all groups of the mesh groups belong to are imported
UseExistingif ==true - searches for the existing hypothesis created with the same parameters, else (default) - creates a new one
def _compareHyp (   self,
  hyp,
  args 
) [private]
def FindHypothesis (   self,
  hypname,
  args,
  CompareMethod,
  smeshpyD 
) [inherited]

Finds a hypothesis in the study by its type name and parameters.

Finds only the hypotheses created in smeshpyD engine.

Returns:
SMESH.SMESH_Hypothesis
def FindAlgorithm (   self,
  algoname,
  smeshpyD 
) [inherited]

Finds the algorithm in the study by its type name.

Finds only the algorithms, which have been created in smeshpyD engine.

Returns:
SMESH.SMESH_Algo
def GetSubMesh (   self) [inherited]

If the algorithm is global, returns 0;
else returns the submesh associated to this algorithm.

def GetAlgorithm (   self) [inherited]

Returns the wrapped mesher.

def GetCompatibleHypothesis (   self) [inherited]

Gets the list of hypothesis that can be used with this algorithm.

def GetName (   self) [inherited]

Gets the name of the algorithm.

def SetName (   self,
  name 
) [inherited]

Sets the name to the algorithm.

def GetId (   self) [inherited]

Gets the id of the algorithm.

def Create (   self,
  mesh,
  geom,
  hypo,
  so = "libStdMeshersEngine.so" 
) [inherited]

Private method.

def Assign (   self,
  algo,
  mesh,
  geom 
) [inherited]

Private method.

def CompareHyp (   self,
  hyp,
  args 
) [inherited]
def CompareEqualHyp (   self,
  hyp,
  args 
) [inherited]
def Hypothesis (   self,
  hyp,
  args = [],
  so = "libStdMeshersEngine.so",
  UseExisting = 0,
  CompareMethod = "" 
) [inherited]

Private method.

def MainShapeEntry (   self) [inherited]

Returns entry of the shape to mesh in the study.


Field Documentation

mesh [inherited]
geom [inherited]

Reimplemented in Mesh_Segment.

subm [inherited]
algo [inherited]
 All Data Structures Namespaces Files Functions Variables
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS