Skip to main content

events.validate_stationary_order_before_flush()

Set is_validated from whether the Hessians have the stationary point’s order.

Usage

Source

events.validate_stationary_order_before_flush(
    session, flush_context, instances
)

Runs for new or modified stationary points, and for those whose geometry gains, changes, or loses a Hessian. A point is validated if every Hessian of its geometry has order negative eigenvalues (autogeom.stationary_point_order); otherwise it is not, with a StationaryOrderWarning. Pseudo stationary points are skipped.