Package mbdyn :: Module elements_base :: Class CommonElement
[hide private]

Class CommonElement

source code

record.RecordBase --+        
                    |        
        record.Record --+    
                        |    
       common.BasicObject --+
                            |
                           CommonElement
Known Subclasses:
ElementWithoutNode, ElementWithNode, elts.aerodynamic.AerodynamicBeam

A common element belongs to a group and has a clas key, specific to that group, that allow to retrieve its class.

Instance Methods [hide private]
 
__init__(self, name) source code
 
do_as_init(self)
A function defined by the user when he inherits from an object having MBDyn bindings.
source code
 
update(self, simulation)
The update of the MBDyn object at each time step.
source code
 
set_default(self)
The default property set on an element.
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, 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: common.BasicObject.__init__

update(self, simulation)

source code 
The update of the MBDyn object at each time step. Used by the user when he inherits from a Python object having MBDyn bindings.

set_default(self)

source code 
The default property set on an element. This method is only used when writing the MBDyn input file from Python