Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

# APPSPACK_Common.hpp

Go to the documentation of this file.

    00001 // $Id: APPSPACK_Common.hpp,v 1.15 2004/11/11 16:29:29 tgkolda Exp $
    00002 // $Source: /space/CVS-Acro/acro/packages/appspack/appspack/src/APPSPACK_Common.hpp,v $
    00003
    00004 //@HEADER
    00005 // ************************************************************************
    00006 //
    00007 //          APPSPACK: Asynchronous Parallel Pattern Search
    00008 //                 Copyright (2003) Sandia Corporation
    00009 //
    00010 // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
    00011 // license for use of this work by or on behalf of the U.S. Government.
    00012 //
    00013 // This library is free software; you can redistribute it and/or modify
    00014 // it under the terms of the GNU Lesser General Public License as
    00015 // published by the Free Software Foundation; either version 2.1 of the
    00016 // License, or (at your option) any later version.
    00017 //
    00018 // This library is distributed in the hope that it will be useful, but
    00019 // WITHOUT ANY WARRANTY; without even the implied warranty of
    00020 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00021 // Lesser General Public License for more details.
    00022 //
    00023 // You should have received a copy of the GNU Lesser General Public
    00024 // License along with this library; if not, write to the Free Software
    00025 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
    00026 // USA.                                                                           .
    00027 //
    00028 // Questions? Contact Tammy Kolda (tgkolda@sandia.gov)
    00029 //
    00030 // ************************************************************************
    00031 //@HEADER
    00032
    00045 #ifndef APPSPACK_COMMON_H
    00046 #define APPSPACK_COMMON_H
    00047
    00048 #ifdef HAVE_CONFIG_H
    00049 #include "APPSPACK_Config.hpp"
    00050 #endif
    00051
    00052 #ifdef HAVE_IOSTREAM
    00053 #include <iostream>
    00054 #elif defined(HAVE_IOSTREAM_H)
    00055 #include <iostream.h>
    00056 #else
    00057 #include <iostream>
    00058 #endif
    00059
    00060 #ifdef HAVE_IOMANIP
    00061 #include <iomanip>
    00062 #elif defined(HAVE_IOMANIP_H)
    00063 #include <iomanip.h>
    00064 #else
    00065 #include <iomanip>
    00066 #endif
    00067
    00068 #ifdef HAVE_CMATH
    00069 #include <cmath>
    00070 #elif defined(HAVE_MATH_H)
    00071 #include <math.h>
    00072 #else
    00073 #include <math.h>
    00074 #endif
    00075
    00076 #ifdef HAVE_CSTDIO
    00077 #include <cstdio>
    00078 #elif defined(HAVE_STDIO_H)
    00079 #include <stdio.h>
    00080 #else
    00081 #include <stdio.h>
    00082 #endif
    00083
    00084 #ifdef HAVE_CSTDLIB
    00085 #include <cstdlib>
    00086 #elif defined(HAVE_STDLIB_H)
    00087 #include <stdlib.h>
    00088 #else
    00089 #include <stdlib.h>
    00090 #endif
    00091
    00092 #ifdef HAVE_CTIME
    00093 #include <ctime>
    00094 #elif defined(HAVE_TIME_H)
    00095 #include <time.h>
    00096 #else
    00097 #include <time.h>
    00098 #endif
    00099
    00100 #ifdef HAVE_CSTRING
    00101 #include <cstring>
    00102 #elif defined(HAVE_STRING_H)
    00103 #include <string.h>
    00104 #else
    00105 #include <string.h>
    00106 #endif
    00107
    00108 #include <unistd.h>
    00109 #include <string>
    00110 #include <vector>
    00111 #include <list>
    00112 #include <fstream>
    00113 #include <map>
    00114 #include <sstream>
    00115
    00116 #ifdef REQUIRE_USING_NAMESPACE_STD
    00117 using namespace std;
    00118 #endif
    00119
    00120 // Special stuff for ASCI Red
    00121 #if defined TFLOP || defined TFLOPS || defined COUGAR
    00122 #define SNL_TFLOPS_ENV
    00123 #endif
    00124
    00125 using std::vector;
    00126
    00127 #endif

© Sandia Corporation | Site Contact | Privacy and Security

Generated on Wed Dec 14 18:41:04 2005 for APPSPACK 4.0.2 by 1.3.8 written by Dimitri van Heesch, © 1997-2002