/usr/include/distributed_matrix.h is in libhypre-dev 2.8.0b-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | /*BHEADER**********************************************************************
* Copyright (c) 2008, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* This file is part of HYPRE. See file COPYRIGHT for details.
*
* HYPRE is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License (as published by the Free
* Software Foundation) version 2.1 dated February 1999.
*
* $Revision: 2.6 $
***********************************************************************EHEADER*/
/******************************************************************************
*
* Header info for the hypre_DistributedMatrix structures
*
*****************************************************************************/
#ifndef hypre_DISTRIBUTED_MATRIX_HEADER
#define hypre_DISTRIBUTED_MATRIX_HEADER
#include "_hypre_utilities.h"
/*--------------------------------------------------------------------------
* hypre_DistributedMatrix:
*--------------------------------------------------------------------------*/
typedef struct
{
MPI_Comm context;
HYPRE_Int M, N; /* number of rows and cols in matrix */
void *auxiliary_data; /* Placeholder for implmentation specific
data */
void *local_storage; /* Structure for storing local portion */
HYPRE_Int local_storage_type; /* Indicates the type of "local storage" */
void *translator; /* optional storage_type specfic structure
for holding additional local info */
#ifdef HYPRE_TIMING
HYPRE_Int GetRow_timer;
#endif
} hypre_DistributedMatrix;
/*--------------------------------------------------------------------------
* Accessor macros: hypre_DistributedMatrix
*--------------------------------------------------------------------------*/
#define hypre_DistributedMatrixContext(matrix) ((matrix) -> context)
#define hypre_DistributedMatrixM(matrix) ((matrix) -> M)
#define hypre_DistributedMatrixN(matrix) ((matrix) -> N)
#define hypre_DistributedMatrixAuxiliaryData(matrix) ((matrix) -> auxiliary_data)
#define hypre_DistributedMatrixLocalStorageType(matrix) ((matrix) -> local_storage_type)
#define hypre_DistributedMatrixTranslator(matrix) ((matrix) -> translator)
#define hypre_DistributedMatrixLocalStorage(matrix) ((matrix) -> local_storage)
/*--------------------------------------------------------------------------
* prototypes for operations on local objects
*--------------------------------------------------------------------------*/
#include "HYPRE_distributed_matrix_mv.h"
#include "internal_protos.h"
#endif
|