prepare sequential MG to change to OpenACC