aboutsummaryrefslogtreecommitdiff
path: root/src/cell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cell.c')
-rw-r--r--src/cell.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cell.c b/src/cell.c
index a13ad577..757ce649 100644
--- a/src/cell.c
+++ b/src/cell.c
@@ -86,6 +86,13 @@ UnitCell *cell_new()
}
+void cell_free(UnitCell *cell)
+{
+ free(cell->pointgroup);
+ free(cell);
+}
+
+
void cell_set_parameters(UnitCell *cell, double a, double b, double c,
double alpha, double beta, double gamma)
{