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

Class ElementWithoutNode

source code

record.RecordBase --+            
                    |            
        record.Record --+        
                        |        
       common.BasicObject --+    
                            |    
                CommonElement --+
                                |
                               ElementWithoutNode
Known Subclasses:
elements.AirProperties, elements.Gravity

Common class for the objects without node.

Instance Methods [hide private]
 
__init__(self, name) source code
 
set_node_label(self)
Not of use here.
source code
 
set_value(self, value, com=None)
Set a MBDyn driver to a constant value.
source code
 
set_mbdyn_value(self, arg, com=None)
Directly set the MBDyn driver as string.
source code

Inherited from CommonElement: do_as_init, set_default, update

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: CommonElement.__init__

set_node_label(self)

source code 
Not of use here. Those kind of element are not attached to a node (used nevertheless when looping through the objects for setting the nodes label (or index) in the 'Simulation')

set_value(self, value, com=None)

source code 
Set a MBDyn driver to a constant value. for example:
   set_value(4.)
will write: const, 4. in the MBDyn input file.

set_mbdyn_value(self, arg, com=None)

source code 
Directly set the MBDyn driver as string. It must be the right MBDyn syntax, nothing will be done by the package. The drivers are not really supported as this functionality is supposed to be provided by the bindings module and WraptMBDyn.