added everything to src
[henge/apc.git] / src / output.c
diff --git a/src/output.c b/src/output.c
new file mode 100644 (file)
index 0000000..4513d64
--- /dev/null
@@ -0,0 +1,39 @@
+
+/* void */
+/* condense() */
+/* { */
+/*   FILE *vp, *op, *cp; */
+/*   int v, m; */
+/*   int num_models; */
+
+/*   vp = fopen("vdat_output", "w+"); */
+/*   if(!vp) */
+/*     perror("vdat_output failed to open\n"); */
+
+/*   op = fopen("odat_output", "w+"); */
+/*   if(!op) */
+/*     perror("odat_output failed to open\n"); */
+
+/*   cp = fopen("cdat_output", "w+"); */
+/*   if(!cp) */
+/*     perror("cdat_output failed to open\n"); */
+
+
+
+/*   /\* fwrite vdat *\/ */
+/*   for(v = 0; v <= vbi; v++) */
+/*     { */
+/*       num_models = vdat_buf[v].num_models; //data duplication for caching */
+/*       for(m = 0; m <= num_models; m++) */
+/*         { */
+            
+/*         } */
+/*     } */
+
+/*   /\* fwrite odat *\/ */
+/*   /\* Convert ref_list to actual offset *\/ */
+
+/*   /\* fwrite cdat *\/ */
+
+
+/* } */