Version: 6.5.0
Home
 All Data Structures Namespaces Files Functions Variables Groups
Modules | Functions
Defining hypotheses
Creating meshes

Modules

 1D Meshing Hypotheses
 2D Meshing Hypotheses
 Max Element Volume hypothesis
 Quadrangle Parameters hypothesis
 Additional Hypotheses

Functions

def AddHypothesis
 Assigns a hypothesis.
def IsUsedHypothesis
 Return True if an algorithm of hypothesis is assigned to a given shape.
def RemoveHypothesis
 Unassigns a hypothesis.
def GetHypothesisList
 Gets the list of hypotheses added on a geometry.
def RemoveGlobalHypotheses
 Removes all global hypotheses.

Detailed Description

Function Documentation

def AddHypothesis (   self,
  hyp,
  geom = 0 
)

Assigns a hypothesis.

Parameters
hypa hypothesis to assign
geoma subhape of mesh geometry
Returns
SMESH.Hypothesis_Status

References smesh.AssureGeomPublished(), Mesh.geom, Mesh.GetName(), and smesh.TreatHypoStatus().

def IsUsedHypothesis (   self,
  hyp,
  geom 
)

Return True if an algorithm of hypothesis is assigned to a given shape.

Parameters
hypa hypothesis to check
geoma subhape of mesh geometry
Returns
True of False

References Mesh.GetHypothesisList().

def RemoveHypothesis (   self,
  hyp,
  geom = 0 
)

Unassigns a hypothesis.

Parameters
hypa hypothesis to unassign
geoma sub-shape of mesh geometry
Returns
SMESH.Hypothesis_Status

References Mesh.geom.

def GetHypothesisList (   self,
  geom 
)

Gets the list of hypotheses added on a geometry.

Parameters
geoma sub-shape of mesh geometry
Returns
the sequence of SMESH_Hypothesis
def RemoveGlobalHypotheses (   self)

Removes all global hypotheses.

References Mesh.geom.

Copyright © 2007-2012 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