lijiwei
lijiwei
I have the same problem and have solved it. It's an issue about the environment variable. `meliad/meliad_lib` may be not added into `PYTHONPATH`. Add it and try again. Btw, if...
I have fixed this bug by introducing a devito.Constant index and define index by devito.Eq(). But I would still like to know why this bug arise.
I change to use index=my_own_subs where index is a devito.Constant of a int16 dtype. This indeed works. But I also want to know why using the subs directly doesn’t work.
OK. Here is an MFE. ``` from devito import Grid, Operator, TimeFunction, Eq, Constant from examples.seismic import Model import numpy as np model = Model( origin=(0, 0, 0), spacing=(0.1, 0.1,...
Thank you very much for helping me!!! For the question of `t/dt`. I just want to show this failure case which does not have any physical meaning. In fact, I...
I also have another question. Does `model.grid.time_dim.spacing` and `model.grid.stepping_dim.spacing` represent the same thing? If not, what‘s the diffenences between them?
Emmmm, so why only `dt` is replaced by `1` and `dx,dy,dz` are replaced by `h_x,h_y,h_z`. Is it because `waveform` is a `TimeFunction` variable?
But `dt` and `dx,dy,dz` are all within a floor function. Why only `dt` is replaced by 1?