From d5d78a49c6b51fb1f6f0661d063034eaf65e02f7 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Wed, 25 Sep 2019 09:20:36 +0000 Subject: [PATCH] Constant volume and constant area fix. Removed spherical harmonics calculations in simulations. No ulm2.cvs and state.dat files are produced anymore --- src/energy.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/energy.h b/src/energy.h index e463815..9d1f47c 100644 --- a/src/energy.h +++ b/src/energy.h @@ -4,4 +4,10 @@ ts_bool mean_curvature_and_energy(ts_vesicle *vesicle); inline ts_bool energy_vertex(ts_vertex *vtx); inline ts_bool bond_energy(ts_bond *bond,ts_poly *poly); + +ts_bool sweep_attraction_bond_energy(ts_vesicle *vesicle); +inline ts_bool attraction_bond_energy(ts_bond *bond, ts_double w); +ts_double direct_force_energy(ts_vesicle *vesicle, ts_vertex *vtx, ts_vertex *vtx_old); + +void stretchenergy(ts_vesicle *vesicle, ts_triangle *triangle); #endif -- Gitblit v1.9.3