aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/cell.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/cell.c')
-rw-r--r--libcrystfel/src/cell.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/libcrystfel/src/cell.c b/libcrystfel/src/cell.c
index 490a80ac..0dfeaa1e 100644
--- a/libcrystfel/src/cell.c
+++ b/libcrystfel/src/cell.c
@@ -93,7 +93,6 @@ struct _unitcell {
double ays; double bys; double cys;
double azs; double bzs; double czs;
- char *pointgroup;
LatticeType lattice_type;
char centering;
char unique_axis;
@@ -127,7 +126,6 @@ UnitCell *cell_new()
cell->rep = CELL_REP_CRYST;
- cell->pointgroup = strdup("1");
cell->lattice_type = L_TRICLINIC;
cell->centering = 'P';
cell->unique_axis = '?';
@@ -150,7 +148,6 @@ UnitCell *cell_new()
void cell_free(UnitCell *cell)
{
if ( cell == NULL ) return;
- free(cell->pointgroup);
free(cell);
}
@@ -298,7 +295,6 @@ UnitCell *cell_new_from_cell(UnitCell *orig)
cell_get_cartesian(orig, &ax, &ay, &az, &bx, &by, &bz, &cx, &cy, &cz);
cell_set_cartesian(new, ax, ay, az, bx, by, bz, cx, cy, cz);
- cell_set_pointgroup(new, orig->pointgroup);
cell_set_lattice_type(new, orig->lattice_type);
cell_set_centering(new, orig->centering);
cell_set_unique_axis(new, orig->unique_axis);
@@ -323,13 +319,6 @@ void cell_set_reciprocal(UnitCell *cell,
}
-void cell_set_pointgroup(UnitCell *cell, const char *sym)
-{
- free(cell->pointgroup);
- cell->pointgroup = strdup(sym);
-}
-
-
void cell_set_centering(UnitCell *cell, char centering)
{
cell->centering = centering;
@@ -622,12 +611,6 @@ int cell_get_reciprocal(UnitCell *cell,
}
-const char *cell_get_pointgroup(UnitCell *cell)
-{
- return cell->pointgroup;
-}
-
-
char cell_get_centering(UnitCell *cell)
{
return cell->centering;