https://github.com/geodynamics/citcoms
Revision 5992bf0133c1abd57bd9318a743532f875a2603b authored by Rajesh Kommu on 05 March 2014, 00:26:55 UTC, committed by Rajesh Kommu on 05 March 2014, 00:26:55 UTC
Added missing parameters to the Py2C conversion tool Cookbook 4 has been fixed to get rid of the "solver not converging" warnings.
1 parent 83b32f9
Tip revision: 5992bf0133c1abd57bd9318a743532f875a2603b authored by Rajesh Kommu on 05 March 2014, 00:26:55 UTC
Added the LaTex source for the manual.
Added the LaTex source for the manual.
Tip revision: 5992bf0
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);
}
Computing file changes ...