Package mbdyn :: Package elts :: Module force :: Class Force
[hide private]

Class Force

source code

record.RecordBase --+                    
                    |                    
        record.Record --+                
                        |                
       common.BasicObject --+            
                            |            
  elements_base.CommonElement --+        
                                |        
    elements_base.ElementWithNode --+    
                                    |    
                         GeneralForce --+
                                        |
                                       Force
Known Subclasses:
BindingsForce, ConservativeForce

The top class of all the forces.

Instance Methods [hide private]
 
__init__(self, name='force') source code
 
set_default(self)
Set the default force option.
source code
 
set_arm(self, *args, **kargs)
Set the arm of the force
source code

Inherited from GeneralForce: get_mbdyn_instance, init_results, set_amplitude, set_direction, set_type

Inherited from elements_base.ElementWithNode: attach_to_node, set_node_label, set_relative_from

Inherited from elements_base.CommonElement: do_as_init, update

Inherited from common.BasicObject: get_lines, 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, collect_parameters, set_own_para, set_parameters

Inherited from record.RecordBase (private): _collect_own_para

Method Details [hide private]

__init__(self, name='force')
(Constructor)

source code 
Overrides: GeneralForce.__init__

set_default(self)

source code 
Set the default force option. It will be a direction along the z axis, and null arm offset and an amplitude of 1.
Overrides: elements_base.CommonElement.set_default