Closed prisae closed 1 week ago
Ah, no, the problem is not CC
vs (Ex
, Ey
, Ez
), but 0's vs 1's.
This works
import discretize
import numpy as np
mesh = discretize.TensorMesh(([1, 1], [1, 1], [1, 1]), (0, 0, 0))
mesh.plot_3d_slicer(np.ones(mesh.n_cells))
This does not
import discretize
import numpy as np
mesh = discretize.TensorMesh(([1, 1], [1, 1], [1, 1]), (0, 0, 0))
mesh.plot_3d_slicer(np.zeros(mesh.n_cells))
Confusing stuff.
In here, #261, we fixed this:
However, the following still gives a wrong result: