Closed micah-prime closed 5 years ago
Should also note in the PR that the loadTopo
was modified to provide an option to use threading when calculating gradient and viewf. As of now it is set to False
meaning a slight slow down when SMRF initializes.
Added those changes to the original PR in the first section. Should we leave threading set to False?
We should probably just do it right and add it to the config in the topo
section then update the PR.
@scotthavens sounds good. I'll do that in a minute
@scotthavens That is now added to the config file under ['topo][threading]
with default being True
. Took a little longer because this upset a check in the backup of the config file. Tests are running on Travic CI now.
Description
This pull request includes the changes required to speedup the local gradient gridded interpolation method. The three main changes are:
loadTopo.py
when runningviewf
andgradient
. This option is now added to the config file, with default beingTrue
.The second change accounts for most, if not all of the speedup when using cubic interpolation. The first change has a larger effect when using linear interpolation. See Issue #91 for more details on timing.
Fixes #91
Type of change
How Has This Been Tested?
This change has been tested in 2 ways:
Test Configuration: Test A: