aboutsummaryrefslogtreecommitdiff
path: root/residual_calc.h
Commit message (Collapse)AuthorAge
* residual_calc: accept all diff coefficients in a single arrayAnton Khirnov13 days
| | | | | | | Plus an offset parameter that signals the distance between different coefficients. This allows to avoid passing so many pointers around, which reduces register pressure and simplifies writing SIMD. Seems also to be a little faster.
* rescalc: improve reflection boundary conditionsAnton Khirnov2019-06-14
| | | | | Make parameter names more clear/consistent, document them, implement missing 1U boundary.
* egs: merge residual calc and correct when possibleAnton Khirnov2019-04-24
| | | | | Also, merge the reflect boundary condition into residual calc+add. Improves performance due to better locality.
* egs: premultiply diff_coeffs with the denominator in initAnton Khirnov2019-04-19
| | | | | | Do not do it at every residual calc, which also allows us to get rid of an extra parameter (and reduce the number of registers used in x86 SIMD).
* egs: do not assume the same stride for all arraysAnton Khirnov2019-04-17
| | | | Also, allocate all the diff coeffs together.
* ell_grid_solve: split residual computation into its own fileAnton Khirnov2019-01-30