Search found 8 matches

by jslin
Thu Aug 19, 2004 9:23 am
Forum: Framework
Topic: where is OPS_stream.h?
Replies: 2
Views: 4994

I should have looked up the file list

Thanks for the prompt response. I realizized that I should have looked up the class interface->File List from browsing upon which a click of the file name showed the folder it lies. I found class interface to be very useful. For instance I was really curious about where is opserr defined since in OP...
by jslin
Wed Aug 18, 2004 10:13 am
Forum: Framework
Topic: where is OPS_stream.h?
Replies: 2
Views: 4994

where is OPS_stream.h?

Much of the debugging code uses opserr as the output stream. It is defined in OPS_globals.h as follows: #define _USING_OpenSees_STREAMS #include <OPS_Stream.h> extern OPS_Stream &opserr; #define endln "\n" I just browsed the code listing on the web site but am not able to locate OPS_St...
by jslin
Sun Jul 11, 2004 11:55 am
Forum: OpenSees.exe Users
Topic: Can I control displacement and load at the same time?
Replies: 2
Views: 5434

try this with example1.tcl

I assume that you want the loading in a particular direction and at a fixed ratio. Menwhile, you also want to limit the magnitude of displacements. Try this with example1.tcl, where the force applied is 100 in x, -50 in y at node 4. With the full load, nodal displacements at node 4 would be 0.53 and...
by jslin
Wed Jul 07, 2004 1:50 pm
Forum: Framework
Topic: compile problems with vc++
Replies: 7
Views: 9978

Indeed that's the problem, VC net 2003 builds 1.5.2

You are right! By removing OpenSeesTK from the build, VC net 2003 works fine. The tcl script runs fine as well--at least for the check I just did. I wonder why OpenSeesTK was there? Was it needed for TK?

Much appreciated!.
by jslin
Tue Jul 06, 2004 9:36 am
Forum: Framework
Topic: compile problems with vc++
Replies: 7
Views: 9978

VC6 build the recent release fine

I was able to build the recent stable release 1.5.2 with VC 6 with minor modification to the source. Be happy to supply the list of changes I did. Using the same settings still gives the old three errors with tcl in VC net 2003. By the way, quickmain is simply a build for running Example1.cpp. Best ...
by jslin
Thu Jul 01, 2004 6:13 pm
Forum: Framework
Topic: compile problems with vc++
Replies: 7
Views: 9978

vc6 works with opensees1.4 and tcl/tk 8.3

I went back and downlloaded the older 1.4 version, then complied it with VC 6. The built was sucessful. Please drop me a line if you built successfully with vc net 2003 on opensees1.5.2. I tried many combinations and still got stuck. --------------------- I got around the error message in tkMain.cpp...
by jslin
Tue Jun 29, 2004 11:02 am
Forum: Framework
Topic: compile problems with vc++
Replies: 7
Views: 9978

Thanks for the assistance. I tried the suggestions, but still faced the same errors. These were what I did: (1) I used the 1.5.2 zipped source. Modified all arguments to fabs() and sqrt() to double. Changed one fmode() to % for the int remainder. (2) I uninstalled, reinstalled ActiveTcl8.4.4. The wi...
by jslin
Mon Jun 28, 2004 5:42 pm
Forum: Framework
Topic: compile problems with vc++
Replies: 7
Views: 9978

compile problems with vc++

I have encoutered two function errors while trying to compile in vc. These same errors appeared in vc6,7 and vc.net. First error appeared in ..\tcl\tkMain.cpp(80). error C2733=> second C linkage of overloaded function 'TkpDisplayWarning' not allowed. It complained about the lines: #ifdef _TCL84 exte...