This file is indexed.

/usr/include/trilinos/pamgen_im_ne_nemesisI_l.h is in libtrilinos-pamgen-dev 12.12.1-5.

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
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
/*
 * Copyright (c) 1998 Sandia Corporation. Under the terms of Contract
 * DE-AC04-94AL85000 with Sandia Corporation, the U.S. Governement
 * retains certain rights in this software.
 * 
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are
 * met:
 * 
 *     * Redistributions of source code must retain the above copyright
 *       notice, this list of conditions and the following disclaimer.
 * 
 *     * Redistributions in binary form must reproduce the above
 *       copyright notice, this list of conditions and the following
 *       disclaimer in the documentation and/or other materials provided
 *       with the distribution.  
 * 
 *     * Neither the name of Sandia Corporation nor the names of its
 *       contributors may be used to endorse or promote products derived
 *       from this software without specific prior written permission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 * 
 */

/*====================================================================
 * ------------------------
 * | CVS File Information |
 * ------------------------
 *
 * $RCSfile$
 *
 * $Author$
 *
 * $Date$
 *
 * $Revision$
 *
 * $Name$
 *====================================================================*/

/****************************************************************************
 * This file contains prototypes for the functions found in the NEMESIS
 * library.
 ****************************************************************************/

#ifndef _IM_NE_NEMESIS_H
#define _IM_NE_NEMESIS_H

#ifdef __cplusplus
extern "C" {
#endif

/*=============================================================================
 *     Initial Information Routines
 *===========================================================================*/
extern int
im_ne_get_init_info_l(int   neid,		/* NemesisI file ID */
                 long long  *num_proc,	/* Number of processors */
                 long long  *num_proc_in_f,	/* Number of procs in this file */
                 char *ftype
                 );

extern int
im_ne_get_init_global_l(int   neid, 		  /* NemesisI file ID */
                   long long  *num_nodes_g,	  /* Number of global FEM nodes */
                   long long  *num_elems_g,	  /* Number of global FEM elements */
                   long long  *num_elem_blks_g, /* Number of global elem blocks */
                   long long  *num_node_sets_g, /* Number of global node sets */
                   long long  *num_side_sets_g  /* Number of global side sets */
                   );

/*=============================================================================
 *     Loadbalance Parameter Routines
 *===========================================================================*/
extern int
im_ne_get_loadbal_param_l(int   neid, 	/* NetCDF/Exodus file ID */
                     long long  *num_int_nodes,  /* Number of internal FEM nodes */
                     long long  *num_bor_nodes,  /* Number of border FEM nodes */
                     long long  *num_ext_nodes,  /* Number of external FEM nodes */
                     long long  *num_int_elems,  /* Number of internal FEM elems */
                     long long  *num_bor_elems,  /* Number of border FEM elems */
                     long long  *num_node_cmaps, /* Number of nodal comm maps */
                     long long  *num_elem_cmaps, /* Number of elemental comm maps */
                     long long   processor         /* Processor ID */
                     );


/*=============================================================================
 *     NS, SS & EB Global Parameter Routines
 *===========================================================================*/
extern int
im_ne_get_ns_param_global_l(int neid,	     /* NetCDF/Exodus file ID */
                       long long *ns_ids_glob,     /* Global IDs of node sets */
                       long long *ns_n_cnt_glob,   /* Count of nodes in node sets */
                       long long *ns_df_cnt_glob   /* Count of dist. factors in ns */
                       );

extern int
im_ne_get_ss_param_global_l(int neid,	    /* NetCDF/Exodus file ID */
                       long long *ss_ids_glob,    /* Global side-set IDs */
                       long long *ss_s_cnt_glob,  /* Global side count */
                       long long *ss_df_cnt_glob  /* Global dist. factor count */
                       );

extern int
im_ne_get_eb_info_global_l(int neid,		/* NemesisI file ID                 */
                      long long *el_blk_ids,	/* Vector of global element IDs     */
                      long long *el_blk_cnts	/* Vector of global element counts  */
                      );


/*=============================================================================
 *     Number Map Routines
 *===========================================================================*/

extern int
im_ne_get_node_map_l(int   neid,		/* NetCDF/Exodus file ID */
                long long  *node_mapi,	/* Internal FEM node IDs */
                long long  *node_mapb,	/* Border FEM node IDs */
                long long  *node_mape,	/* External FEM node IDs */
                long long   processor		/* Processor IDs */
                );

extern int
im_ne_get_elem_map_l(int   neid,		/* NetCDF/Exodus file ID */
                long long  *elem_mapi,	/* Internal element IDs */
                long long  *elem_mapb,	/* Border element IDs */
                long long   processor		/* Processor ID */
                );


/*=============================================================================
 *     Communications Maps Routines
 *===========================================================================*/

extern int
im_ne_get_cmap_params_l(int neid,                  /* NetCDF/Exodus file ID */
                   long long *node_cmap_ids,        /* Nodal comm. map IDs */
                   long long *node_cmap_node_cnts,  /* Number of nodes in each map */
                   long long *elem_cmap_ids,        /* Elemental comm. map IDs */
                   long long *elem_cmap_elem_cnts,  /* Number of elems in each map */
                   long long  processor             /* This processor ID */
                   );


extern int
im_ne_get_node_cmap_l(int  neid,             /* NetCDF/Exodus file ID */
                 long long  map_id,           /* Map ID */
                 long long *node_ids,         /* FEM node IDs */
                 long long *proc_ids,         /* Processor IDs */
                 long long  processor         /* This processor ID */
                 );

extern int
im_ne_get_elem_cmap_l(int  neid,     /* NetCDF/Exodus file ID */
                 long long  map_id,   /* Elemental comm map ID */
                 long long *elem_ids, /* Element IDs */
                 long long *side_ids, /* Element side IDs */
                 long long *proc_ids, /* Processor IDs */
                 long long  processor /* This processor ID */
                 );


/*=============================================================================
 *     Get IJK
 *===========================================================================*/
extern int
im_ne_get_num_ijk_l(int neid,
                long long *num_ijk
                );
extern int
im_ne_get_local_num_ijk_l(int neid,
                long long *local_num_ijk
                );

#ifdef __cplusplus
}
#endif

#endif /* _IM_NE_NEMESIS_H */