1998-09-15 02:03:14 +08:00
|
|
|
#!/bin/sh
|
2006-07-28 07:26:57 +08:00
|
|
|
#BHEADER**********************************************************************
|
2008-07-18 09:34:48 +08:00
|
|
|
# Copyright (c) 2008, Lawrence Livermore National Security, LLC.
|
2006-07-28 07:26:57 +08:00
|
|
|
# Produced at the Lawrence Livermore National Laboratory.
|
2008-07-18 09:34:48 +08:00
|
|
|
# This file is part of HYPRE. See file COPYRIGHT for details.
|
2006-07-28 07:26:57 +08:00
|
|
|
#
|
2007-11-14 05:20:21 +08:00
|
|
|
# HYPRE is free software; you can redistribute it and/or modify it under the
|
2008-07-18 09:34:48 +08:00
|
|
|
# terms of the GNU Lesser General Public License (as published by the Free
|
|
|
|
|
# Software Foundation) version 2.1 dated February 1999.
|
1998-09-15 02:03:14 +08:00
|
|
|
#
|
|
|
|
|
# $Revision$
|
2006-07-28 07:26:57 +08:00
|
|
|
#EHEADER**********************************************************************
|
|
|
|
|
|
1998-09-15 02:03:14 +08:00
|
|
|
|
2007-11-14 05:20:21 +08:00
|
|
|
|
2008-07-18 09:34:48 +08:00
|
|
|
|
2006-11-15 09:08:13 +08:00
|
|
|
INTERNAL_HEADER=_hypre_utilities.h
|
1998-09-15 02:03:14 +08:00
|
|
|
|
|
|
|
|
#===========================================================================
|
|
|
|
|
# Include guards and other includes
|
|
|
|
|
#===========================================================================
|
|
|
|
|
|
2008-07-23 09:11:19 +08:00
|
|
|
cat ../tools/BHEAD_code_template > $INTERNAL_HEADER
|
|
|
|
|
cat >> $INTERNAL_HEADER <<@
|
|
|
|
|
|
1998-09-15 02:03:14 +08:00
|
|
|
#ifndef hypre_UTILITIES_HEADER
|
|
|
|
|
#define hypre_UTILITIES_HEADER
|
|
|
|
|
|
2010-12-21 03:27:44 +08:00
|
|
|
#include "HYPRE_utilities.h"
|
|
|
|
|
|
1998-09-15 02:03:14 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
@
|
|
|
|
|
|
|
|
|
|
#===========================================================================
|
|
|
|
|
# Structures and prototypes
|
|
|
|
|
#===========================================================================
|
|
|
|
|
|
1998-09-15 05:06:52 +08:00
|
|
|
cat general.h >> $INTERNAL_HEADER
|
1998-09-15 02:03:14 +08:00
|
|
|
cat mpistubs.h >> $INTERNAL_HEADER
|
2012-03-17 06:46:05 +08:00
|
|
|
cat hypre_smp.h >> $INTERNAL_HEADER
|
2003-06-26 09:02:25 +08:00
|
|
|
cat hypre_memory.h >> $INTERNAL_HEADER
|
1998-11-21 06:47:19 +08:00
|
|
|
cat thread_mpistubs.h >> $INTERNAL_HEADER
|
1998-11-21 08:24:20 +08:00
|
|
|
cat threading.h >> $INTERNAL_HEADER
|
|
|
|
|
cat timing.h >> $INTERNAL_HEADER
|
1999-03-18 14:55:21 +08:00
|
|
|
cat amg_linklist.h >> $INTERNAL_HEADER
|
2004-06-22 05:09:10 +08:00
|
|
|
cat exchange_data.h >> $INTERNAL_HEADER
|
2008-07-23 09:11:19 +08:00
|
|
|
cat hypre_error.h >> $INTERNAL_HEADER
|
1999-05-08 08:26:20 +08:00
|
|
|
./protos amg_linklist.c >> $INTERNAL_HEADER
|
2008-07-23 09:11:19 +08:00
|
|
|
./protos binsearch.c >> $INTERNAL_HEADER
|
2010-12-21 03:27:44 +08:00
|
|
|
./protos hypre_printf.c >> $INTERNAL_HEADER
|
2003-09-30 14:52:40 +08:00
|
|
|
./protos hypre_qsort.c >> $INTERNAL_HEADER
|
2008-07-23 09:11:19 +08:00
|
|
|
./protos qsplit.c >> $INTERNAL_HEADER
|
|
|
|
|
./protos random.c >> $INTERNAL_HEADER
|
2006-02-07 07:49:24 +08:00
|
|
|
|
1998-09-15 02:03:14 +08:00
|
|
|
#===========================================================================
|
|
|
|
|
# Include guards
|
|
|
|
|
#===========================================================================
|
|
|
|
|
|
|
|
|
|
cat >> $INTERNAL_HEADER <<@
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
@
|
|
|
|
|
|