compute_external_work

compas_ags.ags.compute_external_work(form, force)

Compute the external work of a structure.

The external work done by a structure is equal to the work done by the external forces. This is equal to the sum of the dot products of the force vectors and the vectors defined by the force application point and a fixed arbitrary point.

Parameters:
formFormDiagram

The form diagram.

forceForceDiagram

The force diagram.

Returns:
float

The external work done by the structure.