| | |
| | | /* vim: set ts=4 sts=4 sw=4 noet : */ |
| | | #include<math.h> |
| | | #include<stdlib.h> |
| | | #include "general.h" |
| | | #include "sh.h" |
| | | |
| | | |
| | | #include "io.h" |
| | | #include <string.h> |
| | | #include "globals.h" |
| | | |
| | | ts_spharm *sph_init(ts_vertex_list *vlist, ts_uint l){ |
| | | ts_uint j,i; |
| | |
| | | ts_bool saveAvgUlm2(ts_vesicle *vesicle){ |
| | | |
| | | FILE *fh; |
| | | |
| | | fh=fopen("sph2out.dat", "w"); |
| | | char filename[10000]; |
| | | strcpy(filename, command_line_args.path); |
| | | strcat(filename, "sph2out.dat"); |
| | | fh=fopen(filename, "w"); |
| | | if(fh==NULL){ |
| | | err("Cannot open file %s for writing"); |
| | | return TS_FAIL; |