/usr/include/trilinos/ml_cg.h is in libtrilinos-ml-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 | /* ******************************************************************** */
/* See the file COPYRIGHT for a complete copyright notice, contact */
/* person and disclaimer. */
/* ******************************************************************** */
/* ******************************************************************** */
/* Functions for the CG solver */
/* ******************************************************************** */
/* Author : Charles Tong (LLNL) */
/* Date : December, 1999 */
/* ******************************************************************** */
#ifndef __MLCG__
#define __MLCG__
#include "ml_common.h"
#include "ml_krylov.h"
#ifndef ML_CPP
#ifdef __cplusplus
extern "C" {
#endif
#endif
extern int ML_CG_Solve(ML_Krylov *, int, double *, double *);
extern int ML_CG_ComputeEigenvalues(ML_Krylov *data, int length, int);
extern int ML_Power_ComputeEigenvalues(ML_Krylov *data, int length, int);
extern int ML_SubspaceIteration_ComputeEigenvalues(ML_Krylov *data,
int length, int scale_by_diag);
#ifndef ML_CPP
#ifdef __cplusplus
}
#endif
#endif
#endif
|