source: CIVL/examples/mpi-omp/AMG2013/HYPRE.h

main
Last change on this file was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago

Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5704 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[2aa6644]1/*BHEADER**********************************************************************
2 * Copyright (c) 2008, Lawrence Livermore National Security, LLC.
3 * Produced at the Lawrence Livermore National Laboratory.
4 * This file is part of HYPRE. See file COPYRIGHT for details.
5 *
6 * HYPRE is free software; you can redistribute it and/or modify it under the
7 * terms of the GNU Lesser General Public License (as published by the Free
8 * Software Foundation) version 2.1 dated February 1999.
9 *
10 * $Revision: 2.4 $
11 ***********************************************************************EHEADER*/
12
13
14
15/******************************************************************************
16 *
17 * Header file for HYPRE library
18 *
19 *****************************************************************************/
20
21#ifndef HYPRE_HEADER
22#define HYPRE_HEADER
23
24
25/*--------------------------------------------------------------------------
26 * Type definitions
27 *--------------------------------------------------------------------------*/
28
29#ifdef HYPRE_LONG_LONG
30#define HYPRE_BigInt long long
31#define MPI_HYPRE_BIG_INT MPI_LONG_LONG
32#else
33#define HYPRE_BigInt int
34#define MPI_HYPRE_BIG_INT MPI_INT
35#endif
36
37/*--------------------------------------------------------------------------
38 * Constants
39 *--------------------------------------------------------------------------*/
40
41#define HYPRE_UNITIALIZED -999
42
43#define HYPRE_PETSC_MAT_PARILUT_SOLVER 222
44#define HYPRE_PARILUT 333
45
46#define HYPRE_STRUCT 1111
47#define HYPRE_SSTRUCT 3333
48#define HYPRE_PARCSR 5555
49
50#define HYPRE_ISIS 9911
51#define HYPRE_PETSC 9933
52
53#define HYPRE_PFMG 10
54#define HYPRE_SMG 11
55
56#endif
57
58#include <math.h>
Note: See TracBrowser for help on using the repository browser.