Isorropia: Partitioning, Load Balancing and more Version 3.0
Isorropia_ConfigDefs.hpp
Go to the documentation of this file.
00001 
00002 //@HEADER
00003 /*
00004 ************************************************************************
00005 
00006               Isorropia: Partitioning and Load Balancing Package
00007                 Copyright (2006) Sandia Corporation
00008 
00009 Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
00010 license for use of this work by or on behalf of the U.S. Government.
00011 
00012 This library is free software; you can redistribute it and/or modify
00013 it under the terms of the GNU Lesser General Public License as
00014 published by the Free Software Foundation; either version 2.1 of the
00015 License, or (at your option) any later version.
00016 
00017 This library is distributed in the hope that it will be useful, but
00018 WITHOUT ANY WARRANTY; without even the implied warranty of
00019 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00020 Lesser General Public License for more details.
00021 
00022 You should have received a copy of the GNU Lesser General Public
00023 License along with this library; if not, write to the Free Software
00024 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00025 USA
00026 
00027 ************************************************************************
00028 */
00029 //@HEADER
00030 
00031 #ifndef _Isorropia_ConfigDefs_hpp_
00032 #define _Isorropia_ConfigDefs_hpp_
00033 
00034 /*
00035    The macros PACKAGE, PACKAGE_NAME, etc, get defined in the automatically-
00036    generated header Isorropia_autoheader.h. So we need to undefine them before
00037    including that header, in order to avoid warnings in cases where another
00038    package's header is also included and has already defined them.
00039 */
00040 #ifdef PACKAGE
00041 #undef PACKAGE
00042 #endif
00043 
00044 #ifdef PACKAGE_NAME
00045 #undef PACKAGE_NAME
00046 #endif
00047 
00048 #ifdef PACKAGE_BUGREPORT
00049 #undef PACKAGE_BUGREPORT
00050 #endif
00051 
00052 #ifdef PACKAGE_STRING
00053 #undef PACKAGE_STRING
00054 #endif
00055 
00056 #ifdef PACKAGE_TARNAME
00057 #undef PACKAGE_TARNAME
00058 #endif
00059 
00060 #ifdef PACKAGE_VERSION
00061 #undef PACKAGE_VERSION
00062 #endif
00063 
00064 #ifdef VERSION
00065 #undef VERSION
00066 #endif
00067 
00068 #include <Isorropia_config.h>
00069 
00070 #include <iostream>
00071 #include <fstream>
00072 #include <exception>
00073 #include <vector>
00074 #include <set>
00075 
00076 #ifdef HAVE_TIME_H
00077 #include <time.h>
00078 #endif
00079 
00080 #ifndef __deprecated
00081 #if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
00082 #define __deprecated  __attribute__((__deprecated__))
00083 #else
00084 #define __deprecated
00085 #endif /* __GNUC__ */
00086 #endif /* __deprecated */
00087 
00088 #endif //_Isorropia_ConfigDefs_hpp_
00089