OPS_Globals.h

Go to the documentation of this file.
00001 #ifndef _OPS_Globals_h
00002 #define _OPS_Globals_h
00003 
00004 /* ****************************************************************** **
00005 **    OpenSees - Open System for Earthquake Engineering Simulation    **
00006 **          Pacific Earthquake Engineering Research Center            **
00007 **                                                                    **
00008 **                                                                    **
00009 ** (C) Copyright 1999, The Regents of the University of California    **
00010 ** All Rights Reserved.                                               **
00011 **                                                                    **
00012 ** Commercial use of this program without express permission of the   **
00013 ** University of California, Berkeley, is strictly prohibited.  See   **
00014 ** file 'COPYRIGHT'  in main directory for information on usage and   **
00015 ** redistribution,  and for a DISCLAIMER OF ALL WARRANTIES.           **
00016 **                                                                    **
00017 ** Developed by:                                                      **
00018 **   Frank McKenna (fmckenna@ce.berkeley.edu)                         **
00019 **   Gregory L. Fenves (fenves@ce.berkeley.edu)                       **
00020 **   Filip C. Filippou (filippou@ce.berkeley.edu)                     **
00021 **                                                                    **
00022 ** ****************************************************************** */
00023                                                                         
00024 // $Revision: 1.9 $
00025 // $Date: 2006/08/11 23:36:00 $
00026 // $Source: /usr/local/cvs/OpenSees/SRC/OPS_Globals.h,v $
00027                                                                         
00028 // Written: fmk 
00029 // Created: 11/99
00030 //
00031 // Description: This file contains global variables used in OpenSees files.
00032 // if you change some of the variables, you must recompile ALL the code.
00033 
00034 #define OPS_VERSION "1.7.3"
00035 
00036 #define _USING_OpenSees_STREAMS
00037 #include <OPS_Stream.h>
00038 //extern OPS_Stream &opserr;
00039 extern OPS_Stream *opserrPtr;
00040 #define opserr (*opserrPtr)
00041 #define endln "\n"
00042 
00043 // #define _USING_STL_STREAMS
00044 // #include <iostream>
00045 // using std::cerr;
00046 // using std::ostream;
00047 // #define opserr cerr
00048 // #define OPS_Stream ostream
00049 // #define endln endl
00050 
00051 #define _stdcall BLAH
00052 
00053 #ifdef _TCL84
00054 #define TCL_Char const char
00055 #else
00056 #define TCL_Char char
00057 #endif
00058 
00059 
00060 class Domain;
00061 class Element;
00062 
00063 #define MAX_FILENAMELENGTH 50
00064 
00065 extern double   ops_Dt;                // current delta T for current domain doing an update
00066 // extern double  *ops_Gravity;        // gravity factors for current domain undergoing an update
00067 extern Domain  *ops_TheActiveDomain;   // current domain undergoing an update
00068 extern Element *ops_TheActiveElement;  // current element undergoing an update
00069 
00070 #endif

Generated on Mon Oct 23 15:05:24 2006 for OpenSees by doxygen 1.5.0