function c = getGravityConst %#codegen
global g
c = g;