hypre/utilities/HYPRE_utilities.h

49 lines
1.2 KiB
C
Raw Normal View History

/*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
#ifdef HYPRE_USE_PTHREADS
#ifndef hypre_MAX_THREADS
#define hypre_MAX_THREADS 128
#endif
#endif
/*--------------------------------------------------------------------------
* Structures
*--------------------------------------------------------------------------*/
#ifdef HYPRE_SEQUENTIAL
typedef struct hypre_MPI_Comm *MPI_Comm;
#endif
/*--------------------------------------------------------------------------
* Prototypes
*--------------------------------------------------------------------------*/
#ifdef __cplusplus
}
#endif
#endif