From 61ad95ca712a374f6e58127fda738b67c57d743d Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Wed, 04 Jan 2017 21:19:52 +0000 Subject: [PATCH] Added many changes to trisurf.py. Mostly readability. Great fix in class Runner by introducing @property tag --- src/energy.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/energy.h b/src/energy.h index 90463d8..1b97fa9 100644 --- a/src/energy.h +++ b/src/energy.h @@ -1,5 +1,11 @@ +/* vim: set ts=4 sts=4 sw=4 noet : */ #ifndef _ENERGY_H #define _ENERGY_H 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); #endif -- Gitblit v1.9.3