aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/crystal.c
AgeCommit message (Collapse)Author
2024-02-06Ownership for Crystal.CellThomas White
2024-02-06Crystal: Free UnitCell when setting a new oneThomas White
2024-02-06Fix incorrect uses of cell_freeThomas White
This also gets rid of crystal_copy_deep. From now on, all crystal_copy calls also copy the UnitCell.
2024-02-06Crystals shouldn't own RefLists (part 1)Thomas White
This is a terrible bit of API. A Crystal contains both the parameters for a calculation (e.g. prediction) and the results. Just look at post-refinement.c for an example of the mess this makes when trying to do calculations. This commit removes the reflection list from the Crystal structure. Future commits in this series will fix the resulting build carnage. This also gets rid of vestigial field pr_dud, and adds initialisers for all (remaining) fields.
2024-02-06Use libcrystfel memory allocation routines everywhereThomas White
2024-02-06Crystal: Remove reference to image structure (part 1)Thomas White
2021-04-27Rename libcrystfel's config.h to libcrystfel-config.hThomas White
This removes the big potential for confusion, which has happened several times (see e.g. 095cbebaf6). It also fixes in-tree builds with CMake (but seriously, always use out-of-tree builds). Fixes #2.
2021-03-11detgeom_transform_coords: Take an additional detector shiftThomas White
This allows the refined detector position to be used in a lot of places.
2021-03-05Mass update of copyright dates in source code commentsThomas White
2020-07-29Add crystal_copy_deep()Thomas White
2020-01-10Mass update of copyright datesThomas White
2019-06-19Const-cleanlinessThomas White
2019-05-07Update all source code comments to Doxygen formatThomas White
2019-03-01crystal_copy(): Make new copy of notes if non-NULLThomas White
2018-02-27More const-cleaningThomas White
2018-02-27const-cleanlinessThomas White
2016-10-10Fussiness / boilerplateThomas White
2016-10-10Added detector shift to crystal structure, wrote get and get functionsValerio Mariani
2015-06-26Free crystal notesThomas White
2015-05-19Set default crystal resolution limit to infinityThomas White
Makes much more sense than zero
2015-04-20Crystal: initialise user flagThomas White
2015-04-01Add crystal_add_notes()Thomas White
2015-03-18Add crystal_{get,set}_notes()Thomas White
2015-03-05Crystal: add BfacThomas White
2014-11-09Record number of implausibly negative reflections in streamThomas White
2013-03-04Add crystal_copy()Thomas White
2013-02-06StuffThomas White
2013-02-06Stuff for partialatorThomas White
2013-02-05WIP on bringing programs up to dateThomas White
2013-01-30Stream changesThomas White
2013-01-28First bit of CrystalThomas White