Trisurf Monte Carlo simulator
Samo Penic
2019-08-08 d43116b7d609fa9cabae4068d037c1af3a20dae8
1
2
3
4
5
6
7
8
9
10
11
12
13
/* 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);
 
void stretchenergy(ts_vesicle *vesicle, ts_triangle *triangle);
#endif