Repository navigation
Possibility of using C/Cpp #293
Replies: 2 comments 5 replies
|
Can you define "use"? The python interface is a wrapper around the API of CSXCAD and openEMS and thus uses the C++ interface. If with "use" you mean setup simulations like in python but using the C++ interface. Sure it would be possible. But I would really questioning your sanity. Because if you are capable of coding C++, learning python and be at least an order of magnitude more efficient would still be the better approach. |
|
It's technically possible, but I believe it's misguided and pointless. The openEMS design has separated frontend and backend. The frontend is CSXCAD, which is responsible for 3D modeling, the backend is the openEMS solver. To do anything in openEMS, you generate a Once you have a
So what you probably want is using the CSXCAD library from C/C++, not using the openEMS library from C/C++.
You can use C++ to change the CSXCAD |
Uh oh!
There was an error while loading. Please reload this page.
If I saw it correctly, this is built using C/Cpp, and I wanted to ask if it is possible to use it with C/Cpp?
And if no, if this is something that could be added.
All reactions