pypr / pysph

A framework for Smoothed Particle Hydrodynamics in Python
http://pysph.readthedocs.io
Other
441 stars 137 forks source link

SPLASH Interpolator #368

Closed nauaneed closed 1 year ago

nauaneed commented 1 year ago

An example where this interpolator performs better than the existing interpolator:

Attempting to interpolate the central region marked by the square from the following solution onto a 1000x1000 grid. riemann_2d

Results for Comparison

Existing pysph.tools.interpolator.Interpolator

pysph-existing

New pysph.tools.interpolator.SplashInterpolator

pysph-splash-new

SPLASH

original-splash

prabhuramachandran commented 1 year ago

Cool, please note that it may be easier to just add this to the existing interpolator, as an option since you can pass in the method to the constructor.