Module basic_objects
source code
The general classes for a node, an element and a reference frame. The
Node class defined here is an equivalent to the general
Node
class defined in 'node.h' and manipulated by the
DataManager
. The same remark applied for the Element class that is equivalent to the
Elem
class defined in 'elem.h'. Those two classes are
used to defined all the other types of nodes or elements, this is the
MBDyn polymorphism. That's why this package follows the same
organisation, every node will first be converted to a Node
or to an Element by WraptMBDyn. Then the Groups
class will try to access a more specific object.
However the class ReferenceFrame
in mbdyn.bindings.frames does not follow this complexity
because a single definition is suffisant.
|
BasicObject
A basic bindings object interfacing a C++ instance.
|
|
Node
The top class of a node.
|
|
Element
The top class of an element.
|
|
BASIC_CLASS = { ' ELEM ' : <class mbdyn.bindings.basic_objects.Ele...
|
A function to fill a Numpy array of size 3x1 from a Vec3
instance. The Vec3 instance is described in the SWIG file
'libmbmath.i'.
|
A function to fill a Numpy array of size 3x3 from a
Mat3x3 instance. The Mat3x3 instance is
described in the SWIG file 'libmbmath.i'.
|
BASIC_CLASS
- Value:
{"NODE": Node, "ELEM": Element}
|
|