Discussion Closed This 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.
How to call an interpolation function from a method?
Posted 26 sept. 2021, 17:21 UTC−4 Structural & Acoustics, API, Simulation Apps Version 5.6 2 Replies
Please login with a confirmed email address before reporting spam
I have a couple of interpolation functions in the definitions node for component 1. I am using model methods to do some of the more complicated model set-up for an analysis I am working on. It would be really helpful to be able to call an interpolation function from a method, but I can't figure out to do this call. I see how to set parameters in the interpolation node, but not how to compute a result. Conceptually, I'd like to be able to do something like:
double interpvalue = model.component("comp1").func("int5").computeValue(12, 13);
Any hints would be much appreciated!