From 9d48a67851c83b6aacbcace0345fc29330b4d07a Mon Sep 17 00:00:00 2001
From: Lars Hubatsch <hubatsch@pks.mpg.de>
Date: Tue, 8 Dec 2020 16:47:26 +0100
Subject: [PATCH] Delete obsolete spacing function.

---
 @Ternary_model/Ternary_model.m | 1 -
 @Ternary_model/spacing.m       | 3 ---
 2 files changed, 4 deletions(-)
 delete mode 100644 @Ternary_model/spacing.m

diff --git a/@Ternary_model/Ternary_model.m b/@Ternary_model/Ternary_model.m
index 0c1928f..45178cc 100644
--- a/@Ternary_model/Ternary_model.m
+++ b/@Ternary_model/Ternary_model.m
@@ -63,6 +63,5 @@ classdef Ternary_model < handle
         pt = phi_tot(x, a, b, e, u0, vt)
         g = gradient_analytical(x, a, b, e, vt)
         g0 = gamma0(x, a, b, e_g0, u_g0, vt)
-        sp = spacing(x, a, b, e_g0, u_g0)
     end
 end
\ No newline at end of file
diff --git a/@Ternary_model/spacing.m b/@Ternary_model/spacing.m
deleted file mode 100644
index e9e2c30..0000000
--- a/@Ternary_model/spacing.m
+++ /dev/null
@@ -1,3 +0,0 @@
-function sp = spacing(x, a, b, e_g0, u_g0)
-    sp = b*atanh(2/(e_g0)*(x-u_g0)-1)-a;
-end
\ No newline at end of file
-- 
GitLab