Package mbdyn :: Module groups :: Class Nodes
[hide private]

Class Nodes

source code

record.RecordBase --+            
                    |            
        record.Record --+        
                        |        
       common.BasicObject --+    
                            |    
              CommonContainer --+
                                |
                               Nodes
Known Subclasses:
interface.groups.Nodes

The nodes of the simulation. The instance of that class will be the nodes attribute of the Simulation and will gather all the node groups.

Instance Methods [hide private]
 
__init__(self) source code
 
add(self, node)
Add a node to the global list, 'all', and create the node group if it does not exist.
source code
 
collect_parameters(self)
Collect all the parameters of the nodes before to save them.
source code
 
set_parameters(self, para)
Set all the parameters according to the dictionary para received.
source code

Inherited from CommonContainer: __repr__, add_group, get_number, init_results, write_into

Inherited from common.BasicObject: get_lines, get_mbdyn_instance, set_comment, set_label, set_name, set_simulation_ref

Inherited from record.Record: common_init_results, save, set_own_parameters, will_save, will_save_nothing, will_save_only

Inherited from record.RecordBase: collect_own_parameters, set_own_para

Inherited from record.RecordBase (private): _collect_own_para

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Overrides: CommonContainer.__init__

collect_parameters(self)

source code 
Collect all the parameters of the nodes before to save them.
Overrides: record.RecordBase.collect_parameters

set_parameters(self, para)

source code 
Set all the parameters according to the dictionary para received. The nodes are created from their 'group_key' and 'class_key', in the NODE_CLASS dictionary.
Overrides: record.RecordBase.set_parameters