aboutsummaryrefslogtreecommitdiff
path: root/tests/prediction_gradient_check.c
AgeCommit message (Collapse)Author
2018-02-27New partiality model from Ginn et al.Thomas White
2018-02-27Separate partiality calculation from predictionThomas White
2016-07-01Remove slab-relative coordinates from testsThomas White
2015-07-13Fix some warningsThomas White
2015-07-08Remove unnecessary calculations from prediction refinementThomas White
2015-04-20Avoid testing gradients which don't make senseThomas White
2015-04-20Factorise dr/da part of gradient calculation for PR and predictionThomas White
2015-04-20Remove debugThomas White
2015-04-20Split x and y terms in residualThomas White
2015-04-20Make panel assignments invariant during prediction- and post-refinementThomas White
Reflections appearing and disappearing are problematic when trying to do a least-squares refinement. Therefore, assume that reflections stay on panel and keep them under consideration even if their partialities go to zero (i.e. they drift off Bragg). This should stabilise both refinements, and simplifies quite a lot of code. Collateral "damage": the old "select_intersection()" is now gone.
2015-04-20Add gradient test program and fix gradientsThomas White