general_db_with_t_middle_variable

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

Update sensitivity in the upper and lower bounds for a general surface for a given middle surface considering the variable as a percentage.

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