Create wrapper for mask function.
User add_grad_pressure in mhd nonlinear computation.