G3Globals.hGo to the documentation of this file.00001 /* ****************************************************************** ** 00002 ** OpenSees - Open System for Earthquake Engineering Simulation ** 00003 ** Pacific Earthquake Engineering Research Center ** 00004 ** ** 00005 ** ** 00006 ** (C) Copyright 1999, The Regents of the University of California ** 00007 ** All Rights Reserved. ** 00008 ** ** 00009 ** Commercial use of this program without express permission of the ** 00010 ** University of California, Berkeley, is strictly prohibited. See ** 00011 ** file 'COPYRIGHT' in main directory for information on usage and ** 00012 ** redistribution, and for a DISCLAIMER OF ALL WARRANTIES. ** 00013 ** ** 00014 ** Developed by: ** 00015 ** Frank McKenna (fmckenna@ce.berkeley.edu) ** 00016 ** Gregory L. Fenves (fenves@ce.berkeley.edu) ** 00017 ** Filip C. Filippou (filippou@ce.berkeley.edu) ** 00018 ** ** 00019 ** ****************************************************************** */ 00020 00021 // $Revision: 1.3 $ 00022 // $Date: 2002/06/07 22:16:23 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/G3Globals.h,v $ 00024 00025 00026 #ifndef G3Globals_h 00027 #define G3Globals_h 00028 00029 // Written: fmk 00030 // Created: 11/99 00031 // 00032 // Description: This file contains global variables used in OpenSees files. 00033 // if you change some of the variables, you must recompile ALL the code. 00034 00035 #include <ErrorHandler.h> 00036 class Domain; 00037 class Element; 00038 00039 #define MAX_FILENAMELENGTH 50 00040 00041 extern ErrorHandler *g3ErrorHandler; // error handler for sending warning & fatal error messages 00042 extern double ops_Dt; // current delta T for current domain doing an update 00043 // extern double *ops_Gravity; // gravity factors for current domain undergoing an update 00044 extern Domain *ops_TheActiveDomain; // current domain undergoing an update 00045 extern Element *ops_TheActiveElement; // current element undergoing an update 00046 00047 #endif |