BaseLagrangeConstraint

class sharpy.structure.utils.lagrangeconstraints.BaseLagrangeConstraint[source]

Base class for LagrangeConstraints showing the methods required. They will be inherited by all the Lagrange Constraints

_n_eq

Number of equations required by a LagrangeConstraint

Type:

int

_ieq

Number of the first equation associated to the Lagrange Constraint in the whole set of Lagrange equations

Type:

int

abstract dynamicmat(LM_C, LM_K, LM_Q, MB_beam, MB_tstep, ts, num_LM_eq, sys_size, dt, Lambda, Lambda_dot)[source]

Generates the structural matrices (damping, stiffness) and the independent vector associated to the LagrangeConstraint in a dynamic simulation

abstract dynamicpost(lc_list, MB_beam, MB_tstep)[source]

Postprocess operations needed by the LagrangeConstraint in a dynamic simulation

abstract get_n_eq()[source]

Returns the number of equations required by the Lagrange Constraint

abstract initialise(MBdict_entry, ieq)[source]

Initialisation

abstract staticmat(LM_C, LM_K, LM_Q, MB_beam, MB_tstep, ts, num_LM_eq, sys_size, dt, Lambda, Lambda_dot)[source]

Generates the structural matrices (damping, stiffness) and the independent vector associated to the LagrangeConstraint in a static simulation

abstract staticpost(lc_list, MB_beam, MB_tstep)[source]

Postprocess operations needed by the LagrangeConstraint in a static simulation