external_force_setup

compas_cra.equilibrium.external_force_setup(assembly, density)

Set up external force vector.

Parameters:
assemblyAssembly

The rigid block assembly.

densityfloat

Density of the material. If density attribute is not set, optimisation will use this density value.

Returns:
ndarray

External force p.