#include #include "cwipi.h" #include "AFunction_ext.hpp" #include "AFunction.hpp" using namespace Fem2D; long cwipi_wait_issend_ffpp(std::string *coupling_name, long request){ cwipi_wait_issend((const char *)coupling_name, request); return 0L; } bool LinkTest(KN*const &testInput1,KN*const&testInput2) { cout << "This is a shared library test..." << endl; cout << *testInput1 << endl; cout << *testInput2 << endl; //cwipi_init_ffpp(); return 0; } void init() { Global.Add("LinkTest","(",new OneOperator2_*,KN*>(LinkTest)); Global.Add("cwipi_wait_issend_fpp","(",new OneOperator2_(cwipi_wait_issend_ffpp)); } LOADFUNC(init);