dg method for reservoir simulation