Package mbdyn :: Package elts :: Module joint :: Class CommonJoint2Nodes
[hide private]

Class CommonJoint2Nodes

source code

record.RecordBase --+                    
                    |                    
        record.Record --+                
                        |                
       common.BasicObject --+            
                            |            
  elements_base.CommonElement --+        
                                |        
    elements_base.ElementWithNode --+    
                                    |    
                          CommonJoint --+
                                        |
                                       CommonJoint2Nodes
Known Subclasses:
DriveHinge, Distance, Prismatic, RevoluteHinge, SphericalHinge

Description of a joint associated to two nodes.

Instance Methods [hide private]
 
__init__(self, name) source code
 
attach_to_node(self, node)
Does not make sense for a joint of 2 nodes
source code
 
set_node1(self, node)
Set the first node of the joint
source code
 
set_node2(self, node)
Set the second node of the joint
source code
 
set_node_label(self)
Set the node labels (or index)
source code

Inherited from CommonJoint: get_mbdyn_instance

Inherited from elements_base.ElementWithNode: set_relative_from

Inherited from elements_base.CommonElement: do_as_init, set_default, update

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

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

Inherited from record.RecordBase: collect_own_parameters, collect_parameters, set_own_para, set_parameters

Inherited from record.RecordBase (private): _collect_own_para

Method Details [hide private]

__init__(self, name)
(Constructor)

source code 
Overrides: CommonJoint.__init__

attach_to_node(self, node)

source code 
Does not make sense for a joint of 2 nodes
Overrides: elements_base.ElementWithNode.attach_to_node

set_node_label(self)

source code 
Set the node labels (or index)
Overrides: elements_base.ElementWithNode.set_node_label