2010-08-20 14:16:59 -05:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2010 SINTEF ICT, Applied Mathematics
|
|
|
|
*/
|
|
|
|
|
2010-06-28 17:47:55 -05:00
|
|
|
#ifndef MIMETIC_H_INCLUDED
|
|
|
|
#define MIMETIC_H_INCLUDED
|
|
|
|
|
2010-09-27 02:48:31 -05:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2010-06-29 16:18:23 -05:00
|
|
|
|
2010-08-09 03:51:01 -05:00
|
|
|
void mim_ip_span_nullspace(int nf, int nconn, int d,
|
|
|
|
double *C,
|
|
|
|
double *A,
|
|
|
|
double *X,
|
|
|
|
double *work, int lwork);
|
2010-06-29 16:18:23 -05:00
|
|
|
|
2010-08-09 03:51:01 -05:00
|
|
|
void mim_ip_linpress_exact(int nf, int nconn, int d,
|
|
|
|
double vol, double *K,
|
|
|
|
double *N,
|
|
|
|
double *Binv,
|
|
|
|
double *work, int lwork);
|
2010-06-29 16:18:23 -05:00
|
|
|
|
2010-08-09 03:51:01 -05:00
|
|
|
void mim_ip_simple(int nf, int nconn, int d,
|
|
|
|
double v, double *K, double *C,
|
|
|
|
double *A, double *N,
|
|
|
|
double *Binv,
|
2010-06-29 16:18:23 -05:00
|
|
|
double *work, int lwork);
|
2010-06-28 17:47:55 -05:00
|
|
|
|
2010-08-09 03:51:01 -05:00
|
|
|
void mim_ip_simple_all(int ncells, int d, int max_ncf, int *ncf,
|
2010-08-11 13:31:01 -05:00
|
|
|
int *pconn, int *conn,
|
2010-07-04 16:44:04 -05:00
|
|
|
int *fneighbour, double *fcentroid, double *fnormal,
|
|
|
|
double *farea, double *ccentroid, double *cvol,
|
|
|
|
double *perm, double *Binv);
|
2010-06-28 17:47:55 -05:00
|
|
|
|
2010-09-27 02:48:31 -05:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2010-06-28 17:47:55 -05:00
|
|
|
#endif /* MIMETIC_H_INCLUDED */
|