pyHarm.Systems.System

Classes

System

Subclass of ABCSystem that is in charge of assembling the residual and jacobians contributions coming from the ABCElements.

Module Contents

class pyHarm.Systems.System.System(idata: dict)

Bases: pyHarm.Systems.ABCSystem.ABCSystem

Subclass of ABCSystem that is in charge of assembling the residual and jacobians contributions coming from the ABCElements.

factory_keyword: str = 'Base'

keyword that is used to call the creation of this class in the system factory.

Type:

str

Residual(q: numpy.ndarray) numpy.ndarray

Method that computes the residual vector of the whole system when given a reduced size displacement vector.

Parameters:

q (np.ndarray) – reduced size displacement vector (no kinematic conditions).

Returns:

reduced size residual vector.

Return type:

np.ndarray

Jacobian(q: numpy.ndarray) tuple[numpy.ndarray]

Method that computes the jacobian matrices of the whole system when given a reduced size displacement vector.

Parameters:

q (np.ndarray) – reduced size displacement vector (no kinematic conditions).

Returns:

reduced size jacobian matrices.

Return type:

tuple(np.ndarray)