00001 /*************************************************************************** 00002 * File: ./constants.h 00003 * Author: Ronni Grapenthin, NORVULK & HU-BERLIN 00004 * Created: 10.03.2007 00005 * Licence: GPLv2 00006 * 00007 * ######################################################################### 00008 * 00009 * CrusDe, simulation framework for crustal deformation studies 00010 * Copyright (C) 2007-2009 Ronni Grapenthin 00011 * 00012 * This program is free software; you can redistribute it and/or 00013 * modify it under the terms of the GNU General Public License 00014 * as published by the Free Software Foundation; version 2 00015 * of the License. 00016 * 00017 * This program is distributed in the hope that it will be useful, 00018 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 * GNU General Public License for more details. 00021 * 00022 * You should have received a copy of the GNU General Public License 00023 * along with this program; if not, write to the Free Software 00024 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00025 * 00026 ****************************************************************************/ 00027 00028 #ifndef _constants_h 00029 #define _constants_h 00030 00031 #define EXPERIMENT_DIR "experiment-db" 00032 #define EXPERIMENT_DB "experiment-db.xml" 00033 #define PLUGIN_DIR "plugins" 00034 #define PLUGIN_DB "plugins.xml" 00035 00036 #define DIR_SEP "/" 00037 00038 extern int const NO_TIME; 00039 extern double const PI; 00040 extern double const PI_half; 00041 extern double const two_PI; 00042 00043 extern short const UX; 00044 extern short const UY; 00045 extern short const UZ; 00046 00047 // errors 00048 //extern int const NOERROR; //!< no error occured 00049 //extern int const ERROR_MSG; //!< error message printed, aborting program 00050 00051 extern char* const VERSION; 00052 extern char* const SVN_REVISION; 00053 00054 #endif // _constants_h