#include #include #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]); }