general_db_with_t_middle_constant

compas_tno.shapes.general_db_with_t_middle_constant(s, middle)[source]

Update sensitivity in the upper and lower bounds for a general surface for a given middle surface.

Parameters
  • s (float) – Middle surface heights

  • middle (MeshDos) – Middle surface mesh

Returns

  • dub (array) – Sensitivities of the upper bound

  • dlb (array) – Sensitivities of the lower bound