mpacts.contact.matrix. cmoperators

In order to be able to use this module import it like this:

import mpacts.contact.matrix.cmoperators
#or assign it to a shorter name
import mpacts.contact.matrix.cmoperators as cmo

ContactMatrixOperatorsBase

class mpacts.contact.matrix.cmoperators.ContactMatrixOperatorsBase

Bases: mpacts.core.baseobject.BaseObject

Base class for operations on the ContactMatrix types.

Raises an exception This class cannot be instantiated from Python

ContactMatrixOperatorsBase(name, parent, **kwargs)
add_to((ContactMatrixOperatorsBase)arg1, (CG_Vector_Iface)arg2, (CG_Vector_Iface)arg3) → CG_Vector_Iface
dot((ContactMatrixOperatorsBase)arg1, (CG_Vector_Iface)arg2, (CG_Vector_Iface)arg3) → float
mult((ContactMatrixOperatorsBase)arg1, (CG_Matrix_Iface)arg2, (CG_Vector_Iface)arg3) → CG_Vector_Iface

mult( (ContactMatrixOperatorsBase)arg1, (CG_Matrix_Iface)arg2, (float)arg3) -> None

mult( (ContactMatrixOperatorsBase)arg1, (CG_Vector_Iface)arg2, (float)arg3) -> CG_Vector_Iface

subtract_from((ContactMatrixOperatorsBase)arg1, (CG_Vector_Iface)arg2, (CG_Vector_Iface)arg3) → CG_Vector_Iface

ContactMatrixOperatorsR3

class mpacts.contact.matrix.cmoperators.ContactMatrixOperatorsR3

Bases: mpacts.contact.matrix.cmoperators.ContactMatrixOperatorsBase, mpacts.core.baseobject.BaseObject

Operates on R3::Vector with Tiny symmetric matrices.
Has no default location.
object __init__(tuple args, dict kwds) :
args: name, parent kwds:
ContactMatrixOperatorsR3(name, parent, **kwargs)
print_matrix((ContactMatrixOperatorsR3)arg1, (object)arg2) → None