v_sim.NodeValuesVector

g GObject.Object GObject.Object v_sim.NodeValues v_sim.NodeValues GObject.Object->v_sim.NodeValues v_sim.NodeValuesFarray v_sim.NodeValuesFarray v_sim.NodeValues->v_sim.NodeValuesFarray v_sim.NodeValuesVector v_sim.NodeValuesVector v_sim.NodeValuesFarray->v_sim.NodeValuesVector

Subclasses:

v_sim.DataDiff, v_sim.Vibration

Methods

Inherited:

v_sim.NodeValuesFarray (15), v_sim.NodeValues (16), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (arr, label)

getAt (node)

getAtIterSpherical (iter)

getAtSpherical (node)

getShift (node)

set (data)

setAt (node, dxyz)

setAtDbl (node, dxyz)

setAtSpherical (node, sph)

Virtual Methods

Inherited:

v_sim.NodeValuesFarray (1), v_sim.NodeValues (4), GObject.Object (7)

do_shift (node, dxyz)

Properties

Inherited:

v_sim.NodeValuesFarray (5), v_sim.NodeValues (6)

Signals

Inherited:

v_sim.NodeValues (1), GObject.Object (1)

Fields

Inherited:

v_sim.NodeValues (1), GObject.Object (1)

Name

Type

Access

Description

parent

v_sim.NodeValuesFarray

r

Class Details

class v_sim.NodeValuesVector(**kwargs)
Bases:

v_sim.NodeValuesFarray

Abstract:

No

Structure:

v_sim.NodeValuesVectorClass

Common name to refer to a #_VisuNodeValuesVector.

classmethod new(arr, label)
Parameters:
Returns:

a newly created v_sim.NodeValuesVector object.

Return type:

v_sim.NodeValuesVector

Create a new vector field located on nodes.

New in version 3.8.

getAt(node)
Parameters:

node (v_sim.Node) – a v_sim.Node object.

Returns:

the coordinates of vector for node.

Return type:

[float]

Retrieves the vector hosted on node.

New in version 3.8.

getAtIterSpherical(iter)
Parameters:

iter (v_sim.NodeValuesIter) – a v_sim.NodeValuesIter object.

Returns:

the spherical coordinates.

Return type:

[float] or None

Retrieves the vector hosted on iter in spherical coordinates.

New in version 3.8.

getAtSpherical(node)
Parameters:

node (v_sim.Node) – a v_sim.Node object.

Returns:

the spherical coordinates.

Return type:

[float] or None

Retrieves the vector hosted on node in spherical coordinates.

New in version 3.8.

getShift(node)
Parameters:

node (v_sim.Node) – a v_sim.Node pointer.

Returns:

a vector location.

Return type:

dxyz: [float]

Get the shift value that is applied to every vector of self.

New in version 3.8.

set(data)
Parameters:

data ([float]) – some vector coordinates.

Returns:

True if data has the same size as self.

Return type:

bool

Assigns the coordinates stored in data to each nodes in self.

New in version 3.8.

setAt(node, dxyz)
Parameters:
Returns:

True if vector for node is indeed changed.

Return type:

bool

Changes the vector hosted at node for one of coordinates defined by dxyz.

New in version 3.8.

setAtDbl(node, dxyz)
Parameters:
Returns:

True if vector for node is indeed changed.

Return type:

bool

Same as v_sim.NodeValuesVector.setAt() but for double values.

New in version 3.8.

setAtSpherical(node, sph)
Parameters:
Returns:

True if vector for node is indeed changed.

Return type:

bool

Same as v_sim.NodeValuesVector.setAt() but using a spherical coordinate description.

New in version 3.8.

do_shift(node, dxyz) virtual
Parameters:

a routine to add a shift on each node.