Skip to content

Commit

Permalink
Merge pull request #2252 from devitocodes/notebook-fix
Browse files Browse the repository at this point in the history
examples: Interpolation tutorial notebook
  • Loading branch information
mloubout authored Apr 4, 2024
2 parents 364997c + bc7bb4a commit cb24675
Show file tree
Hide file tree
Showing 3 changed files with 923 additions and 30 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 cb24675

Please sign in to comment.