Dear All,
Can I encapsulate xxx.tcl procedure files into OpenSees source code?
Since I programmed several procedures, not only structural model but also algorithm and material constitutive relationship, using tcl language. As the procedures get more abundant, I realized I should have coded them using C++ from the beginning, which could be encapsulated into OpenSees. Please tell me if there is any possible way that I could compile a OpenSees.exe with these tcl code.
Thank you so much!
Encapsulate tcl files into OpenSees
Moderators: silvia, selimgunay, Moderators
-
- Posts: 11
- Joined: Sat Jul 28, 2018 12:05 pm
Re: Encapsulate tcl files into OpenSees
try this function
Tcl_Eval(Tcl_Interp *interp, const char *script);
Tcl_Eval(Tcl_Interp *interp, const char *script);