Function::get_variable_global_index
Curvature example.