Removed unnecessary import and added comment.

这个提交包含在:
Craig Warren
2016-05-17 17:51:10 +01:00
父节点 339b8657f5
当前提交 8a471f0b43

查看文件

@@ -17,14 +17,14 @@
# along with gprMax. If not, see <http://www.gnu.org/licenses/>. # along with gprMax. If not, see <http://www.gnu.org/licenses/>.
import numpy as np import numpy as np
import matplotlib.pyplot as plt
from gprMax.constants import c, floattype, complextype from gprMax.constants import c, floattype, complextype
from gprMax.materials import Material from gprMax.materials import Material
class Grid(): class Grid(object):
"""Generic grid/mesh."""
def __init__(self, grid): def __init__(self, grid):
self.nx = grid.shape[0] self.nx = grid.shape[0]
self.ny = grid.shape[1] self.ny = grid.shape[1]