external_force_setup

compas_cra.equilibrium.external_force_setup(assembly, density)[source]

Set up external force vector.

Parameters
  • assembly (Assembly) – The rigid block assembly.

  • density (float) – Density of the material. If density attribute is not set, optimisation will use this density value.

Returns

ndarray – External force p.