Reset platonic code.
[voro++.git] / branches / 2d_boundary / examples / test_bdry.cc
blobd1824f5705313a24ee09be8f6b4d0fb6301c4911
1 #include "voro++_2d.hh"
2 #include <iostream>
4 int main(int argc,char **argv) {
6 if(argc!=2) {
7 fprintf(stderr,"Syntax: test_bdry <input_file>\n");
8 return 1;
11 container_2d con(0,500,600,1100,8,8,false,false,false,16);
12 con.import(argv[1]);
13 con.setup();
14 con.debug_output();
16 char *buf(new char[strlen(argv[1])+5]);
17 sprintf(buf,"%s.gnu",argv[1]);
18 con.draw_cells_gnuplot(buf);
20 delete [] buf;
21 return 0;