devito
devito copied to clipboard
DSL and compiler framework for automated finite-differences and stencil computation
Small PR than fixes the newly introduced bug in sympy for `_print_Add`. We should keep that bug fix in our printer even once 1.12 is released so that we stay...
This PR adds a notebook showing an example of mapping permeability fields to pressure flow using the Darcy flow equation, which is a single-phase porous media flow equation.
I am facing the following error : `error: OpenMP constructs other than '#pragma omp ordered simd' may not be nested inside 'simd' region` due to #pragma omp atomic update inside...
Hello, I have encountered a compilation error when running a simple example on a Macbook. The error is : clang: error: the clang compiler does not support '-march=native' FAILED compiler...
If an unevaluated derivative is substituted for some expression containing derivatives, any derivatives in the substituted expression are duplicated unless they are the original derivative. As the `Derivative` object gets...
Updates the requirements on [sympy](https://github.com/sympy/sympy) to permit the latest version. Release notes Sourced from sympy's releases. SymPy 1.11 See https://github.com/sympy/sympy/wiki/release-notes-for-1.11 for the release notes. Note: Do not download the Source...
I’ve been trying to calculate the second derivative of a TimeFunction as follows: Image1 = TimeFunction(name='image', grid=model.grid, space_order=2) op = Operator(Eq(image1, image1.dx2)) op.apply(time=0) Could someone tell me if I’m right...
Add suppport for 45 degree derivatives (usually called RSFD). This only supports cases where the diagonal (45 degree axis) aligns with points at which the fields is defined.
If a `ConditionalDimension` is created with `factor=None`, then `self._factor` is set to `None`, but `self.factor` will return 1. As such, when rebuilding a `ConditionalDimension` with no factor, a factor of...