/usr/include/trilinos/ml_amg_genP.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 | /* ******************************************************************** */
/* See the file COPYRIGHT for a complete copyright notice, contact */
/* person and disclaimer. */
/* ******************************************************************** */
/* ******************************************************************** */
/* functions for setting up AMG */
/* ******************************************************************** */
/* Author : Charles Tong (LLNL) */
/* Date : October, 2000 */
/* ******************************************************************** */
#ifndef __MLAMGGENP__
#define __MLAMGGENP__
#include "ml_common.h"
#include "ml_amg.h"
#include "ml_operator.h"
/* ******************************************************************** */
/* functions defined here */
/* ******************************************************************** */
#ifndef ML_CPP
#ifdef __cplusplus
extern "C" {
#endif
#endif
/* ******************************************************************** */
/* functions called by users */
/* -------------------------------------------------------------------- */
extern int ML_Gen_MGHierarchy_UsingAMG(ML *, int start,
int increment_or_decrement, ML_AMG *);
/* ******************************************************************** */
/* internal functions called by developers */
/* -------------------------------------------------------------------- */
extern int ML_AMG_Gen_MGHierarchy(ML *, int fine_level,
int (*next_level)(ML *, int, ML_Operator *, ML_AMG *),
int (*user_gen_prolongator)(ML *,int,int,void *,ML_AMG*),
void *data, ML_AMG *);
extern int ML_AMG_Gen_Prolongator(ML*,int ,int,void *data,ML_AMG*);
extern int ML_AMG_Increment_Level(ML *,int level,ML_Operator *Amat,ML_AMG*);
extern int ML_AMG_Decrement_Level(ML *,int level,ML_Operator *Amat,ML_AMG*);
extern int ML_AMG_Identity_Getrows(ML_Operator *data, int N_requested_rows,
int requested_rows[], int allocated_space, int columns[],
double values[], int row_lengths[]);
#ifndef ML_CPP
#ifdef __cplusplus
}
#endif
#endif
#endif
|