/usr/include/trilinos/ml_solver.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 62 63 64 65 66 67 68 | /* ******************************************************************** */
/* See the file COPYRIGHT for a complete copyright notice, contact */
/* person and disclaimer. */
/* ******************************************************************** */
/* ******************************************************************** */
/* Declaration of the ML structure */
/* ******************************************************************** */
/* Author : Charles Tong (LLNL) and Raymond Tuminaro (SNL) */
/* Date : February, 1999 */
/* ******************************************************************** */
#ifndef _MLSOLVER_
#define _MLSOLVER_
/* #include <stdlib.h> */
#include "ml_common.h"
#include "ml_defs.h"
#ifdef DSUPERLU
#include "superlu_ddefs.h"
#endif
typedef struct ML_Lugrid_Struct
{
#ifdef DSUPERLU
gridinfo_t grid;
#endif
int count;
} ML_Lugrid;
typedef struct ML_Solver_Struct
{
int ML_id; /* ID for the Solver structure */
int reuse_flag; /* flag for internal use */
void (*func)(void); /* function to perform the solve */
void *Mat1; /* primary matrix for the solver */
void *Mat2; /* L matrix (for direct solver) */
void *Mat3; /* U matrix (for direct solver) */
int int_data; /* integer data for the solver */
int int_data2; /* integer data for the solver */
double dble_data; /* double data for the solver */
int *int_params1; /* integer array for the solver */
int *int_params2; /* integer array for the solver */
double *dble_params1; /* double array for the solver */
double *dble_params2; /* double array for the solver */
void *void_params1; /* other data for the solver */
void *void_params2; /* other data for the solver */
void *LUspl; /* for direct solver */
void *PERMspl; /* for direct solver */
int ML_subgroup;
ML_Lugrid *gridtiles;
} ML_Solver;
/* Changed void ML_subcomm to int ML_subgroup */
#ifdef __cplusplus
extern "C" {
#endif
int ML_Solver_Create( ML_Solver **sol );
int ML_Solver_Destroy( ML_Solver **sol );
int ML_Solver_Check( ML_Solver *sol );
#ifdef __cplusplus
}
#endif
#endif
|