/usr/include/trilinos/ml_comminfoagx.h is in libtrilinos-ml-dev 12.10.1-3.
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 71 72 73 74 75 76 77 78 79 80 81 82 83 | /* ******************************************************************** */
/* See the file COPYRIGHT for a complete copyright notice, contact */
/* person and disclaimer. */
/* ******************************************************************** */
/* ******************************************************************** */
/* Data structure to hold the send and receive information for grid */
/* interpolation queries. */
/* ******************************************************************** */
/* Author : Charles Tong (LLNL) */
/* Date : February, 1999 */
/* ******************************************************************** */
#ifndef _MLCOMMINFOAGX_
#define _MLCOMMINFOAGX_
#include <stdio.h>
#include "ml_common.h"
#include "ml_defs.h"
#include "ml_memory.h"
/* ******************************************************************** */
/* send_cur : keeps track of how many send sublist has been loaded */
/* send_cnt : total number of send sublists to be loaded */
/* send_proc : a list of processor numbers for send */
/* send_ia : send_ia[i] to send_ia[i-1] point to the locations in */
/* send_list : send_list for indices to send to send_proc[i] */
/* recv_cur : keeps track of how many recv sublist has been loaded */
/* recv_cnt : total number of recv sublists to be loaded */
/* recv_proc : a list of processor numbers for recv */
/* recv_ia : recv_ia[i] to recv_ia[i-1] point to the locations in */
/* recv_list : recv_list for indices to recv from recv_proc[i] */
/* recv_xyz : storing coordinate information to be received. */
/* -------------------------------------------------------------------- */
typedef struct ML_CommInfoAGX_Struct
{
int ML_id;
int proc_id;
int send_cur;
int send_cnt;
int *send_proc;
int *send_ia;
ml_big_int *send_list;
int recv_cur;
int recv_cnt;
int *recv_proc;
int *recv_ia;
ml_big_int *recv_list;
double *recv_xyz;
} ML_CommInfoAGX;
/* ******************************************************************** */
/* functions to manipulate the ML_CommInfoAGX structure */
/* -------------------------------------------------------------------- */
#ifndef ML_CPP
#ifdef __cplusplus
extern "C"
{
#endif
#endif
extern int ML_CommInfoAGX_Create(ML_CommInfoAGX **);
extern int ML_CommInfoAGX_Setup_Send(ML_CommInfoAGX *, int, int);
extern int ML_CommInfoAGX_Load_SendList(ML_CommInfoAGX *, int, int, ml_big_int*);
extern int ML_CommInfoAGX_Get_SendList(ML_CommInfoAGX *,int,int*,int*,ml_big_int**);
extern int ML_CommInfoAGX_Setup_Recv(ML_CommInfoAGX *, int, int);
extern int ML_CommInfoAGX_Load_RecvInfo(ML_CommInfoAGX *, int, int);
extern int ML_CommInfoAGX_Load_RecvData(ML_CommInfoAGX*,int,ml_big_int*,double*,
double*, double*);
extern int ML_CommInfoAGX_Get_RecvList(ML_CommInfoAGX *,int,int*,int*,ml_big_int**);
extern int ML_CommInfoAGX_Destroy(ML_CommInfoAGX **);
extern int ML_CommInfoAGX_Print(ML_CommInfoAGX *);
#ifndef ML_CPP
#ifdef __cplusplus
}
#endif
#endif
#endif
|