Add API method set_OutputGrid to set whether to output grid file