/usr/include/trilinos/ml_ifpack.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 | /* ************************************************************************* */
/* See the file COPYRIGHT for a complete copyright notice, contact person, */
/* and disclaimer. */
/* ************************************************************************* */
#ifndef ML_IFPACK_H
#define ML_IFPACK_H
#include "ml_include.h"
typedef struct Ifpack_Handle_Struct Ifpack_Handle_Type;
struct Ifpack_Handle_Struct {
void *A_Base; /* really Ifpack_Preconditioner pointer */
int freeMpiComm; /*0 = false, 1 = true */
};
#ifndef ML_CPP
#ifdef __cplusplus
extern "C" {
#endif
#endif
#if defined(HAVE_ML_EPETRA) && defined(HAVE_ML_IFPACK) && defined(HAVE_ML_TEUCHOS)
int ML_Smoother_Ifpack(ML_Smoother *sm,int inlen,double x[],int outlen,
double rhs[]);
void ML_Smoother_Clean_Ifpack(void * Ifpack_Handle);
/** Solves using IFPACK */
int ML_Ifpack_Solve(void * Ifpack_Handle, double * x, double * rhs);
/** Destroy all data associated to the IFPACK smoother. */
void ML_Ifpack_Destroy(void * Ifpack_Handle);
#endif
#ifndef ML_CPP
#ifdef __cplusplus
}
#endif
#endif
#endif /* #ifndef ML_IFPACK_H */
|