MeshModel

class persalys.MeshModel(*args)

Create a mesh model base class.

Notes

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

Methods

getBounds(self)

Get bounds of the mesh nodes accessor.

getClassName(self)

Accessor to the object’s name.

getId(self)

Accessor to the object’s id.

getImplementation(self)

Accessor to the underlying implementation.

getIndexParameters(self)

Index parameters accessor.

getMesh(self)

Mesh accessor.

getName(self)

Accessor to the object’s name.

getNumberOfNodes(self)

Number of nodes accessor.

getPythonScript(self)

Python script accessor.

setIndexParameters(self, parameters)

Index parameters accessor.

setName(self, name)

Accessor to the object’s name.

GetClassName

__init__(self, *args)

Initialize self. See help(type(self)) for accurate signature.

getBounds(self)

Get bounds of the mesh nodes accessor.

Returns
boundsopenturns.Interval

Bounds of the mesh nodes along each direction

getClassName(self)

Accessor to the object’s name.

Returns
class_namestr

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

getId(self)

Accessor to the object’s id.

Returns
idint

Internal unique identifier.

getImplementation(self)

Accessor to the underlying implementation.

Returns
implImplementation

The implementation class.

getIndexParameters(self)

Index parameters accessor.

Returns
parameterssequence of persalys.Variable

Index parameters

getMesh(self)

Mesh accessor.

Returns
meshopenturns.Mesh

Mesh

getName(self)

Accessor to the object’s name.

Returns
namestr

The name of the object.

getNumberOfNodes(self)

Number of nodes accessor.

Returns
numberopenturns.Indices

Number of nodes along each direction

getPythonScript(self)

Python script accessor.

Returns
scriptstr

Python script to replay the analysis

setIndexParameters(self, parameters)

Index parameters accessor.

Parameters
parameterssequence of persalys.Variable

Index parameters

setName(self, name)

Accessor to the object’s name.

Parameters
namestr

The name of the object.