Package mbdyn :: Module common :: Class ManagerObject
[hide private]

Class ManagerObject

source code

This object will add a vector or a matrix attributes to others MBDyn objects (reference, node, element). The idea is to simplify the tedious work of adding a vector or a matrix to each of the object. For the attribute name given and the users parameters Python value will be created as well as a MBDyn value.

Instance Methods [hide private]
 
__init__(self) source code
 
add_argument(self, obj, name, value, com=None, mbdyn_value=None)
Add a common argument to the object
source code
 
__set_attr(self, obj, mbdyn_obj, name, mbdyn_name, reference)
The object is in that case a MBDyn object.
source code
 
add_vector(self, obj, name, args, kargs)
Adding a vector to a MBDyn object
source code
 
add_matrix(self, obj, name, args, kargs)
Adding a matrix to a MBDyn object
source code
 
_add_diagonal_matrix(self, obj, name, mbdyn_name, diagonal, reference)
Add a diagonal matrix to the object
source code
 
_scan_orientation_key(self, key, kargs, mbdyn_value)
Method used for setting the orientation matrix as a MBDyn input format.
source code
 
add_orientation_matrix(self, obj, name, args, kargs)
Add an orientation matrix to the object.
source code
Method Details [hide private]

__set_attr(self, obj, mbdyn_obj, name, mbdyn_name, reference)

source code 
The object is in that case a MBDyn object. As a result, the attribute names follow the convention:
  • 'value' for the value of that object in the Python world
  • 'name' for the name of that object in the MBDyn input file