MeshModel

class persalys.MeshModel(*args)

Create a mesh model base class.

Notes

Can only be used through its derived classes. See GridMeshModel, ImportedMeshModel

Attributes
thisown

The membership flag

Methods

getBounds()

Get bounds of the mesh nodes accessor.

getClassName()

Accessor to the object's name.

getId()

Accessor to the object's id.

getImplementation()

Accessor to the underlying implementation.

getIndexParameters()

Index parameters accessor.

getMesh()

Mesh accessor.

getName()

Accessor to the object's name.

getNumberOfNodes()

Number of nodes accessor.

getPythonScript()

Python script accessor.

setIndexParameters(parameters)

Index parameters accessor.

setName(name)

Accessor to the object's name.

GetClassName

__init__(*args)
getBounds()

Get bounds of the mesh nodes accessor.

Returns
boundsopenturns.Interval

Bounds of the mesh nodes along each direction

getClassName()

Accessor to the object’s name.

Returns
class_namestr

The object class name (object.__class__.__name__).

getId()

Accessor to the object’s id.

Returns
idint

Internal unique identifier.

getImplementation()

Accessor to the underlying implementation.

Returns
implImplementation

A copy of the underlying implementation object.

getIndexParameters()

Index parameters accessor.

Returns
parameterssequence of persalys.Variable

Index parameters

getMesh()

Mesh accessor.

Returns
meshopenturns.Mesh

Mesh

getName()

Accessor to the object’s name.

Returns
namestr

The name of the object.

getNumberOfNodes()

Number of nodes accessor.

Returns
numberopenturns.Indices

Number of nodes along each direction

getPythonScript()

Python script accessor.

Returns
scriptstr

Python script to replay the analysis

setIndexParameters(parameters)

Index parameters accessor.

Parameters
parameterssequence of persalys.Variable

Index parameters

setName(name)

Accessor to the object’s name.

Parameters
namestr

The name of the object.

property thisown

The membership flag