Discussion ClosedThis discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one,click here.
Using Comsol Java API to Evaluate Expression at Arbitrary Point
Posted 2023年12月1日 GMT+1 15:18Interfacing, API, Results & Visualization1 Reply
Please login with a confirmed email address before reporting spam
I am using the Java API to do some results post-processing on an electrostatics study. I came to a point in which I need to interpolate value of the electric potential at some specific point, but I cannot seem to find how to do that from theJava API documentation(alternative link)
In MATLAB Comsol, there is a functionmphinterpwhich does exactly what I want. How can I replicate this functionality in my Java code?
Is it even possible to do that with the Java API only?
P.S. I am doing some optimization in the Java code, which is performance sensitive, which is why I cannot use Matlab mphinterp.