v_sim.NodeList¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w |
node ids |
||
r |
number of nodes |
||
r/w/co |
nodes values are related to |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class v_sim.NodeList(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
An opaque structure.
New in version 3.8.
- classmethod new(array)¶
- Parameters:
array (
v_sim.NodeArray) – av_sim.NodeArrayobject.- Returns:
a pointer to the
v_sim.NodeListit created orNoneotherwise.- Return type:
Creates a new
v_sim.NodeListstoring indexes of nodes from array..New in version 3.8.
- classmethod new_fromFrag(frag, label)¶
- Parameters:
frag (
v_sim.NodeValuesFrag) – av_sim.NodeValuesFragobject.label (
str) – a label.
- Returns:
a newly created
v_sim.NodeListobject.- Return type:
Create a list of nodes from the node labelled by label in frag. When the fragment definition is chaged or the node population is changed, the node list is updated accordingly.
New in version 3.8.
- add(id)¶
- Parameters:
id (
int) – a node id.- Returns:
Trueif node is not already existing in the list.- Return type:
Add id to the list of nodes.
New in version 3.8.
- envelope()¶
- Returns:
a newly created
v_sim.ScalarFieldData.- Return type:
Compute a scalarfield corresponding to the envelope of the node list. When the node positions are changed, the scalar field is updated accordingly.
New in version 3.8.
Property Details¶
- v_sim.NodeList.props.ids¶
- Name:
ids- Type:
- Default Value:
- Flags:
node ids
- v_sim.NodeList.props.n_nodes¶
-
number of nodes
- v_sim.NodeList.props.nodes¶
- Name:
nodes- Type:
- Default Value:
- Flags:
nodes values are related to