#1385: add 0th order interpolation to LocalInterp -------------------------+-------------------------------------------------- Reporter: rhaas | Owner: eschnett Type: enhancement | Status: new Priority: minor | Milestone: Component: SimFactory | Version: development version Keywords: LocalInterp | -------------------------+-------------------------------------------------- The attached patch adds 0th order (copy from nearest grid point) interpolation to LocalInterp. This can be occasionally useful when using the interpolator as a data-mover.
#1385: add 0th order interpolation to LocalInterp --------------------------+------------------------------------------------- Reporter: rhaas | Owner: eschnett Type: enhancement | Status: review Priority: minor | Milestone: Component: SimFactory | Version: development version Resolution: | Keywords: LocalInterp --------------------------+------------------------------------------------- Changes (by rhaas):
* status: new => review
#1385: add 0th order interpolation to LocalInterp --------------------------+------------------------------------------------- Reporter: rhaas | Owner: eschnett Type: enhancement | Status: review Priority: minor | Milestone: Component: Other | Version: development version Resolution: | Keywords: LocalInterp --------------------------+------------------------------------------------- Changes (by rhaas):
* component: SimFactory => Other
#1385: add 0th order interpolation to LocalInterp --------------------------+------------------------------------------------- Reporter: rhaas | Owner: eschnett Type: enhancement | Status: reviewed_ok Priority: minor | Milestone: Component: Other | Version: development version Resolution: | Keywords: LocalInterp --------------------------+------------------------------------------------- Changes (by eschnett):
* status: review => reviewed_ok
Comment:
Approved.
Bonus points for correcting the pre-existing typo "Inperpolation", and for converting the if-else cascade to a switch statement.
#1385: add 0th order interpolation to LocalInterp --------------------------+------------------------------------------------- Reporter: rhaas | Owner: eschnett Type: enhancement | Status: closed Priority: minor | Milestone: Component: Other | Version: development version Resolution: fixed | Keywords: LocalInterp --------------------------+------------------------------------------------- Changes (by rhaas):
* status: reviewed_ok => closed * resolution: => fixed
Comment:
Applied as rev 221 of LocalInterp. Incl. the correction of the typo and turning the if-else cascade into a switch (there's some more in the file that could be changed). How many bonus points do I need to collect for a 1up :-) ?
trac@lists.einsteintoolkit.org