Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "./Data/SurfaceData.h"
- #include "./Services/IntegrationService.h"
- #include "./phs_math/surface.h"
- using namespace std;
- using namespace surface;
- int main (int argc, char **argv) {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- SURFACE * sur = new_SURFACE(5, 5);
- Field_2D dataProtocol;
- SurfaceData *surfaceData = new SurfaceData();
- surfaceData->setProtocol(&dataProtocol);
- IntegrationService<Field_2D>* service = new IntegrationService<Field_2D>(surfaceData);
- service->setInterpreter("python3");
- service->runFunc("plot.py");
- google::protobuf::ShutdownProtobufLibrary();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement