https://github.com/geodynamics/citcoms
Revision 1d938627d6a9814652c138fc770f179e889f659e authored by Rajesh Kommu on 20 August 2014, 22:39:07 UTC, committed by Rajesh Kommu on 20 August 2014, 22:39:07 UTC
1 parent 74d65f3
Raw File
Tip revision: 1d938627d6a9814652c138fc770f179e889f659e authored by Rajesh Kommu on 20 August 2014, 22:39:07 UTC
removed the CitcomS directory which has only Python scripts
Tip revision: 1d93862
Py2CMain.cpp
#include "Py2C.hpp"

int main(int argc, char* argv[])
{
  if( argc != 4)
  {
    std::cerr << "Usage: Py2C infile outfile true|false" << std::endl;
    exit(-1);
  }

  Py2CConverter py2c(argv[1], argv[2]);

  bool save_all = (std::string(argv[3])=="true"?true:false);
  py2c.convert(save_all);
}
back to top