aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/cell.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/cell.h')
-rw-r--r--libcrystfel/src/cell.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libcrystfel/src/cell.h b/libcrystfel/src/cell.h
index 3deb92ff..d201d059 100644
--- a/libcrystfel/src/cell.h
+++ b/libcrystfel/src/cell.h
@@ -101,7 +101,7 @@ extern UnitCell *cell_new_from_reciprocal_axes(struct rvec as, struct rvec bs,
extern UnitCell *cell_new_from_direct_axes(struct rvec as, struct rvec bs,
struct rvec cs);
-extern int cell_has_parameters(UnitCell *cell);
+extern int cell_has_parameters(const UnitCell *cell);
extern void cell_set_cartesian(UnitCell *cell,
double ax, double ay, double az,
@@ -129,7 +129,7 @@ extern void cell_set_reciprocal(UnitCell *cell,
double bsx, double bsy, double bsz,
double csx, double csy, double csz);
-extern LatticeType cell_get_lattice_type(UnitCell *cell);
+extern LatticeType cell_get_lattice_type(const UnitCell *cell);
extern void cell_set_lattice_type(UnitCell *cell, LatticeType lattice_type);
struct g6
@@ -142,12 +142,12 @@ struct g6
double F;
};
-extern struct g6 cell_get_G6(UnitCell *cell);
+extern struct g6 cell_get_G6(const UnitCell *cell);
-extern char cell_get_centering(UnitCell *cell);
+extern char cell_get_centering(const UnitCell *cell);
extern void cell_set_centering(UnitCell *cell, char centering);
-extern char cell_get_unique_axis(UnitCell *cell);
+extern char cell_get_unique_axis(const UnitCell *cell);
extern void cell_set_unique_axis(UnitCell *cell, char unique_axis);
extern const char *cell_rep(UnitCell *cell);