mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-28 01:00:33 +08:00
13 lines
272 B
Python
13 lines
272 B
Python
import numpy as np
|
|
import matplotlib.pyplot as plt
|
|
from SimPEG.mesh import TensorMesh
|
|
|
|
h1 = np.linspace(.1,.5,3)
|
|
h2 = np.linspace(.1,.5,5)
|
|
h3 = np.linspace(.1,.5,3)
|
|
mesh = TensorMesh([h1,h2,h3])
|
|
mesh.plotGrid(nodes=True, faces=True, centers=True, lines=True)
|
|
|
|
plt.show()
|
|
|