![]() |
GeMA
The GeMA main application
|
Discontinuity objects represent a discontinuity in the model and are part of a discontinuity set. It basically stores the discontinuity geometric representation and can be obtained by a call to the Discontinuity set method discSet:
discontinuity()
.
Example:
Index:
cell:
id()
cell:
index()
cell:
cellGroupIndex()
cell:
propertyIndex()
cell:
numSegments()
disc:id() | |
---|---|
Description: | Returns the discontinuity id. |
Parameters: | None. |
Returns: | Returns the discontinuity id name. |
Example:
disc:index() | |
---|---|
Description: | Returns the index of this discontinuity in the discontinuity set that contains it. |
Parameters: | None. |
Returns: | Returns the discontinuity index. |
Example:
disc:cellGroupIndex() | |
---|---|
Description: | Returns the index of the cell group used to host elements created to represent this discontinuity or nil if there is no associated group. This is the index of the group in the list returned by mesh: cellGroupIds() . |
Parameters: | None. |
Returns: | Returns the cell group index or nil if it was not defined. |
Example:
disc:propertyIndex(psetIndex) | |
---|---|
Description: | Given a property set number, returns the line of the property set that contains property values for this discontinuity. |
Parameters: | psetIndex - The property set index inside the discontinuity. A number between 1 and discSet: numPropertySets() . |
Returns: | Returns the property set line associated to this discontinuity. |
Example:
disc:numSegments() | |
---|---|
Description: | Returns the number of discontinuity "segments", defined as the number os line segments for polyline geometry, the number of edges for edge list geometry, the number fo triangles for triangle surface geometry and the number of faces for face list geometry. |
Parameters: | None. |
Returns: | Returns the number of discontinuity "segments". |
Example: