Package mbdyn :: Module nodes :: Class Node
[hide private]

Class Node

source code

record.RecordBase --+        
                    |        
        record.Record --+    
                        |    
       common.BasicObject --+
                            |
                           Node
Known Subclasses:
StructuralNode

An abstract class for all the nodes. The relative reference frame, the type and the saving operations are performed.

Instance Methods [hide private]
 
__init__(self, name='Node') source code
 
set_relative_from(self, ref)
The relative ReferenceFrame to set data from.
source code
 
set_default(self)
Will be defined by the derived class
source code
 
set_type(self, node_type, com=None)
The keyword that identifies the MBDyn type.
source code
 
collect_parameters(self)
Collect the node parameters
source code
 
set_parameters(self, para)
Set the parameters saved on the structural node, for retrieving the object status.
source code
 
init_results(self)
Initialize the results by creating the needed objects to save the parameters of interest during the simulation.
source code

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, name='Node')
(Constructor)

source code 
Overrides: common.BasicObject.__init__

set_type(self, node_type, com=None)

source code 
The keyword that identifies the MBDyn type. For a StructuralNode, it will be 'static' or 'dynamic'.

collect_parameters(self)

source code 
Collect the node parameters
Overrides: record.RecordBase.collect_parameters

set_parameters(self, para)

source code 
Set the parameters saved on the structural node, for retrieving the object status.
Overrides: record.RecordBase.set_parameters

init_results(self)

source code 
Initialize the results by creating the needed objects to save the parameters of interest during the simulation.
Overrides: record.Record.init_results