Please wait...
×

Error

Posted Fri, 26 Jan 2018 11:50:41 GMT by Jarrah Muller Civil Engineer
I've created an IFM that produces data to be used by FePEST.  It saves it in a *.fpo file, which PEST can read.

Is there any way for my IFM to know when the model has been called by FePEST, and for it to know which directory is the current PEST working folder? I'd like to be able to save the .fpo file in the current PEST working folder where PEST will find it.

Posted Mon, 12 Feb 2018 19:47:42 GMT by adacovsk
I've previously used PreEnterSimulator, which is a good callback for the IFM to know when the model has been called by FePEST. Regarding the directory, I've been looking into IfmioGetPath and IfmioRelativePath... However, I have no idea how to use these to open files located with the model file. I'm looking for answers too.

However, if it's a static path, a simple ifstream could work, but probably not what you're looking for.

You must be signed in to post in this forum.