Skip to content
Snippets Groups Projects
Commit 9d48a678 authored by Lars Hubatsch's avatar Lars Hubatsch
Browse files

Delete obsolete spacing function.

parent e3839e8a
No related branches found
No related tags found
No related merge requests found
......@@ -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
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment