/usr/include/trilinos/ml_grid.h is in libtrilinos-ml-dev 12.4.2-2.
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 | /* ******************************************************************** */
/* See the file COPYRIGHT for a complete copyright notice, contact */
/* person and disclaimer. */
/* ******************************************************************** */
/* ******************************************************************** */
/* Declaration of the Grid and its access functions data structure */
/* ******************************************************************** */
/* Author : Charles Tong (LLNL) and Raymond Tuminaro (SNL) */
/* Date : March, 1999 */
/* ******************************************************************** */
#ifndef __MLGRID__
#define __MLGRID__
#include "ml_common.h"
#include "ml_defs.h"
#include "ml_memory.h"
#include "ml_gridfunc.h"
typedef struct ML_Grid_Struct ML_Grid;
/* ******************************************************************** */
/* definition of the data structure for Grid */
/* -------------------------------------------------------------------- */
struct ML_Grid_Struct
{
int ML_id;
void *Grid; /* user grid data structure */
ML_GridFunc *gridfcn; /* a set of grid access functions */
int gf_SetOrLoad; /* see if gridfcn is created locally */
};
/* ******************************************************************** */
/* definition of the functions */
/* -------------------------------------------------------------------- */
#ifndef ML_CPP
#ifdef __cplusplus
extern "C"
{
#endif
#endif
extern int ML_Grid_Create( ML_Grid ** );
extern int ML_Grid_Init( ML_Grid * );
extern int ML_Grid_Destroy( ML_Grid ** );
extern int ML_Grid_Clean( ML_Grid * );
extern int ML_Grid_Set_Grid( ML_Grid *, void * );
extern int ML_Grid_Set_GridFunc( ML_Grid *, ML_GridFunc * );
extern int ML_Grid_Get_GridFunc( ML_Grid *, ML_GridFunc ** );
extern int ML_Grid_Create_GridFunc( ML_Grid * );
#ifndef ML_CPP
#ifdef __cplusplus
}
#endif
#endif
#endif
|