Skip to content

Commit

Permalink
examples: add sinc interpoaltion to interpolation notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed Apr 4, 2024
1 parent e177cd9 commit ccb484b
Show file tree
Hide file tree
Showing 2 changed files with 284 additions and 74 deletions.
5 changes: 5 additions & 0 deletions devito/types/sparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,11 @@ class SparseFunction(AbstractSparseFunction):
Controller for memory allocation. To be used, for example, when one wants
to take advantage of the memory hierarchy in a NUMA architecture. Refer to
`default_allocator.__doc__` for more information.
interpolation: String, optional, default='linear'
The interpolation type to be used by the SparseFunction. Supported types
are 'linear' and 'sinc'.
r: int, optional, default=1 for 'linear', 4 for 'sinc'
The radius of the interpolation operators provided by the SparseFunction.
Examples
--------
Expand Down
Loading

0 comments on commit ccb484b

Please sign in to comment.