1998-10-16 07:41:53 +08:00
|
|
|
/*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
|
|
|
|
|
|
|
|
|
|
#ifndef HYPRE_SEQUENTIAL
|
|
|
|
|
#include "mpi.h"
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
1999-02-11 00:47:41 +08:00
|
|
|
#ifdef HYPRE_USE_PTHREADS
|
|
|
|
|
#ifndef hypre_MAX_THREADS
|
|
|
|
|
#define hypre_MAX_THREADS 128
|
|
|
|
|
#endif
|
|
|
|
|
#endif
|
|
|
|
|
|
1998-10-16 07:41:53 +08:00
|
|
|
/*--------------------------------------------------------------------------
|
|
|
|
|
* Structures
|
|
|
|
|
*--------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
#ifdef HYPRE_SEQUENTIAL
|
1998-10-16 08:59:37 +08:00
|
|
|
typedef struct hypre_MPI_Comm *MPI_Comm;
|
1998-10-16 07:41:53 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------------------
|
|
|
|
|
* Prototypes
|
|
|
|
|
*--------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|