devito
devito copied to clipboard
DSL and compiler framework for automated finite-differences and stencil computation
Operator cannot handle multiple data carriers with same name. For example ``` from devito import Grid, inner, Function grid = Grid((10, 10)) u = Function(name="u", grid=grid) u.data[:] = np.random.rand(*u.shape) u1...
The `resample` method of a `Receiver` object does not always return the correct number of samples. If you interpolate data from the computational time axis to a shot record times...
* [ ] reproducer 1: ``` f= VectorTimeFunction(name='f', grid=grid, space_order=2) g=TimeFunction(name='g', grid=grid) ``` now: ``` f+g ``` gives one type of error, while ``` f-g ``` a completely different one...
reproducer: ``` python tti_example.py ``` look at the generated code for the `padfunc` builtin, you'll see something along the lines of ``` phi[abc_x_l + 4][y + 4][z + 4] =...
When attaching M `SubDomain`'s to an N-dimensional grid M*N `SubDimension`'s are currently being created, but often some `SubDimension`'s can, and should, be re-used. Therefore, during the finalization of a `SubDomain`...
The AlltoAll calls for MPI make Devito crash for large problems.
I was trying to run the tutorial 1 about modeling, and got errors at: ``` model = Model(vp=v, origin=origin, shape=shape, spacing=spacing, space_order=2, nbl=10) ``` Could anyone help take a look?...
- If `LinearInterpolator._interpolate`/`_inject` could accept `sfunction` as parameters, no state would be required in the `LinearInterpolator` class and it could be singleton-ized (see https://github.com/devitocodes/devito/pull/1025#discussion_r358091918 ) - The initialization of `Interpolator`...
Hi, I'd like to use devito on Windows 10. In autotuning.py a Unix only module (resource) is imported, which breaks it running on Windows. I have Anaconda Python installed and...
Background: our use case always involves applying Operators to different Functions/Constants/etc than the ones they were originally built with. This is because compilation is expensive, and we reuse the compiled...