The Gr ( K + Mg ) received , after induction , an intravenous ( IV ) bolus of ketamine @ mg/kg and magnesium @ mg/kg , followed by continuous infusion of ketamine ( @ mg/kg/h ) and magnesium ( @ mg/kg/h ) until extubation .