Karim,Sorry for the long delay in getting back to you. There is a file called trnsys.h which defines C++ interfaces for most of the functions that are available to Types in external DLLs. The file also includes an interface for the TYPECK subroutine. However it does not contain interfaces for all of the TRNSYS kernel subroutines. You will need to modify trnsys.h to include an interface for the DIFFERENTIAL_EQN subroutine if you want to call if from your C++ component.
Kind regards, David Khemiri Karim wrote:
Greetings, I have a matrix-form differential equation to solve in a component I am creating, however I happen to do that in C++ and the programmer guide or online exemples are for fortran only. The problem I have is I cannot, or don't know how to call the DIFFERENTIAL_EQ routine and others such as Matrix_invert, basically the compiler says "identifier not found". Kind regards Karim Khemiri _______________________________________________ TRNSYS-users mailing list TRNSYS-users@cae.wisc.edu https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users
-- ***********************************************************************Thermal Energy System Specialists (TESS), LLC David BRADLEY 22 N. Carroll Street - Suite 370 Partner Madison, WI 53703 USA P: +1.608.274.2577 F: +1.608.278.1475 E-mail: bradley@tess-inc.com Web Pages: http://www.tess-inc.com and http://www.trnsys.com
***********************************************************************