def METHOD_NAME(
    geom_callable: GeomClsOptimiserCallable,
    geom: GeometryParameterisation,
) -> OptimiserCallable:
    """
    Convert a geometry optimiser function to a normal optimiser function.
    For example, a gradient or constraint.
    """
    def f(x):
        geom.variables.set_values_from_norm(x)
        return geom_callable()
    return f