12 extern void pyinit_(
const char*,
const char*,
const char*,
double&,
int,
int,
int);
14 extern void pygive_(
const char*,
int);
43 static void pygive(
const std::string cmnd) {
44 const char* cstring = cmnd.c_str();
int len = cmnd.length();
49 static void pyinit(
const std::string frame,
const std::string
beam,
50 const std::string
target,
double wIn) {
51 const char* cframe = frame.c_str();
int lenframe = frame.length();
52 const char* cbeam = beam.c_str();
int lenbeam = beam.length();
53 const char* ctarget = target.c_str();
int lentarget = target.length();
54 pyinit_(cframe, cbeam, ctarget, wIn, lenframe, lenbeam, lentarget);