Communication between Petrel and a standalone app packaged as a plugin

We (our team) saw that it is possible to include a standalone application in a plugin. The application is used to modify Petrel data in a specific way. See for example these plugins:

http://www.ocean.slb.com/Pages/Product.aspx?category=petrelgeophysics%28Petrel%29&cat=Petrel&pid=PCPT-B1%28Base%29&view=grid

http://www.ocean.slb.com/Pages/Product.aspx?category=petrelgeophysics%28Petrel%29&cat=Petrel&pid=PRPW-B1%28Base%29&view=grid


We want to do the same to raise questions:

How does the plugin perform editing Petrel data?

Does Petrel (Ocean) provide any mechanisms for IPC or should we develop our own architecture for communication between the plugin's managed code and the application's own process?

+3


source to share


1 answer


For most Petrel data, it is safe to modify it inside the main Petrel plugin thread.



If you already have your own number crunching process, you will need to implement your own way of sharing data between the plugin and your own process. Eclipse does this by sharing files. If the IPC overhead outweighs the actual computation, you may want to consider refactoring your own process so that it runs inside a plug-in.

+4


source







All Articles