61 lines
1.5 KiB
C
61 lines
1.5 KiB
C
/*BHEADER**********************************************************************
|
|
* (c) 1998 The Regents of the University of California
|
|
*
|
|
* See the file COPYRIGHT_and_DISCLAIMER for a complete copyright
|
|
* notice, contact person, and disclaimer.
|
|
*
|
|
* $Revision$
|
|
*********************************************************************EHEADER*/
|
|
/******************************************************************************
|
|
*
|
|
* Header file for HYPRE_utilities library
|
|
*
|
|
*****************************************************************************/
|
|
|
|
#ifndef HYPRE_UTILITIES_HEADER
|
|
#define HYPRE_UTILITIES_HEADER
|
|
|
|
#include <HYPRE_config.h>
|
|
|
|
#ifndef HYPRE_SEQUENTIAL
|
|
#include "mpi.h"
|
|
#endif
|
|
|
|
#ifdef HYPRE_USING_OPENMP
|
|
#include <omp.h>
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
* Before a version of HYPRE goes out the door, increment the version
|
|
* number and check in this file (for CVS to substitute the Date).
|
|
*/
|
|
#define HYPRE_Version() "HYPRE 1.3.1b $Date$ Compiled: " __DATE__ " " __TIME__
|
|
|
|
#ifdef HYPRE_USE_PTHREADS
|
|
#ifndef hypre_MAX_THREADS
|
|
#define hypre_MAX_THREADS 128
|
|
#endif
|
|
#endif
|
|
|
|
/*--------------------------------------------------------------------------
|
|
* Structures
|
|
*--------------------------------------------------------------------------*/
|
|
|
|
#ifdef HYPRE_SEQUENTIAL
|
|
typedef int MPI_Comm;
|
|
#endif
|
|
|
|
/*--------------------------------------------------------------------------
|
|
* Prototypes
|
|
*--------------------------------------------------------------------------*/
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|