1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| #include <stdlib.h>
| #include<math.h>
|
| #include "general.h"
| #include "energy.h"
| char plugin_name[] = "Direct force on curved proteins";
| char plugin_description[]= "Plugin for applying direct normal force on curved proteins (c0>0)";
| char plugin_author[] = "SAMO PENIC";
|
|
| ts_plugin_details *init (){
| ts_plugin_details *details=(ts_plugin_details *)calloc(1,sizeof(ts_plugin_details));
| details->name = plugin_name;
| return details;
| }
|
|
| ts_double vm_energy_after_execute(ts_vesicle *vesicle, ts_vertex *vtx, ts_vertex *backup_vertices){
| return direct_force_energy(vesicle,vtx,&backup_vertices[0]);
| }
|
|