SCIInstitute / SCIRun

SCIRun is a Problem Solving Environment, for modeling, simulation and visualization of scientific problems. This is version 5, the upgraded version of SCIRun v4.
http://scirun.org
Other
128 stars 72 forks source link

MapFieldDataFromSourceToDestination does not interpolate #2212

Open Sumientra opened 3 years ago

Sumientra commented 3 years ago

Describe the bug This issue is basically a copy of #2154, but that was closed because it was mapping onto a point cloud. However, the same issue exists for a tet mesh: the 'linear interpolation' option provides the output of 'nearest source value'. Here is a test network and data set.

Version v5.0-beta.Y-172-g1d75a9c3f

Desktop macOS 11.1

dcwhite commented 3 years ago

Can you convert the v4 network to a v5 network? I tried to do it with the importer, and (after adding the mapping ClipFieldByFunction2-->ClipFieldByFunction) the matlab input files didn't get converted properly, so I can't get it to work.

Sumientra commented 3 years ago

Sorry, I accidentally uploaded the wrong net file. It was always meant to be v5. I updated it now.