63 lines
1.6 KiB
Bash
Executable File
63 lines
1.6 KiB
Bash
Executable File
#!/bin/sh
|
|
#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***********************************************************************
|
|
|
|
INTERNAL_HEADER=IJ_matrix_vector.h
|
|
|
|
#===========================================================================
|
|
# Include guards and other includes
|
|
#===========================================================================
|
|
|
|
cat > $INTERNAL_HEADER <<@
|
|
|
|
#include <HYPRE_config.h>
|
|
|
|
#ifndef hypre_IJ_HEADER
|
|
#define hypre_IJ_HEADER
|
|
|
|
#include "utilities.h"
|
|
#include "seq_matrix_vector.h"
|
|
#include "parcsr_matrix_vector.h"
|
|
#include "HYPRE_IJ_mv.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
@
|
|
|
|
#===========================================================================
|
|
# Structures and prototypes
|
|
#===========================================================================
|
|
|
|
cat aux_parcsr_matrix.h >> $INTERNAL_HEADER
|
|
cat IJ_matrix.h >> $INTERNAL_HEADER
|
|
cat IJ_vector.h >> $INTERNAL_HEADER
|
|
|
|
../utilities/protos aux_*.c >> $INTERNAL_HEADER
|
|
../utilities/protos hypre_IJ*.c >> $INTERNAL_HEADER
|
|
../utilities/protos HYPRE_IJ*.c >> $INTERNAL_HEADER
|
|
../utilities/protos F90_HYPRE*.c >> $INTERNAL_HEADER
|
|
|
|
|
|
#===========================================================================
|
|
# Include guards
|
|
#===========================================================================
|
|
|
|
cat >> $INTERNAL_HEADER <<@
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
@
|
|
|