MeshModel

class persalys.MeshModel(*args)

Create a mesh model base class.

Notes

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

Methods

GetClassName
getBounds() Get bounds of the mesh nodes accessor.
getClassName()
getId() Accessor to the object’s id.
getImplementation(*args) 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.
__init__(*args)
getBounds()

Get bounds of the mesh nodes accessor.

Returns:

bounds : openturns.Interval

Bounds of the mesh nodes along each direction

getId()

Accessor to the object’s id.

Returns:

id : int

Internal unique identifier.

getImplementation(*args)

Accessor to the underlying implementation.

Returns:

impl : Implementation

The implementation class.

getIndexParameters()

Index parameters accessor.

Returns:

parameters : sequence of persalys.Variable

Index parameters

getMesh()

Mesh accessor.

Returns:

mesh : openturns.Mesh

Mesh

getName()

Accessor to the object’s name.

Returns:

name : str

The name of the object.

getNumberOfNodes()

Number of nodes accessor.

Returns:

number : openturns.Indices

Number of nodes along each direction

getPythonScript()

Python script accessor.

Returns:

script : str

Python script to replay the analysis

setIndexParameters(parameters)

Index parameters accessor.

Parameters:

parameters : sequence of persalys.Variable

Index parameters

setName(name)

Accessor to the object’s name.

Parameters:

name : str

The name of the object.