devito icon indicating copy to clipboard operation
devito copied to clipboard

Cleanup interpolators and sparse functions

Open navjotk opened this issue 4 years ago • 0 comments

  • 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 objects could be homogenised across the SparseFunction hierarchy (see https://github.com/devitocodes/devito/pull/1025#discussion_r358092881 )
  • Move Evaluable to devito/types/evaluable.py (see https://github.com/devitocodes/devito/pull/1025#discussion_r363208996 )

navjotk avatar Jan 08 '20 22:01 navjotk