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

Class GeneralForce

source code

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

A general force for the FORCE group of MBDyn. This class is abstract and used to defined the top classes Force and Couple.

Instance Methods [hide private]
 
__init__(self, name) source code
 
set_type(self, force_type, com=None)
Set the type of force
source code
 
set_direction(self, *args, **kargs)
Set the direction of the force
source code
 
set_amplitude(self, value, com=None)
Set the amplitude of the force
source code
 
init_results(self)
Initialize the results before running the simulation
source code
 
get_mbdyn_instance(self)
Get the MBDyn instance from mbdyn.bindings
source code

Inherited from elements_base.ElementWithNode: attach_to_node, set_node_label, 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, 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: elements_base.ElementWithNode.__init__

init_results(self)

source code 
Initialize the results before running the simulation
Overrides: record.Record.init_results

get_mbdyn_instance(self)

source code 
Get the MBDyn instance from mbdyn.bindings
Overrides: common.BasicObject.get_mbdyn_instance