opm-simulators/mimetic.h
Bård Skaflestad 4c469918e1 Implement cell loop (tentatively named mim_ip_simple_all()) and a
MEX gateway for easy testing from M.  Builds with fairly strict
  warnings, but is not tested yet.
2010-07-04 21:44:04 +00:00

21 lines
788 B
C

#ifndef MIMETIC_H_INCLUDED
#define MIMETIC_H_INCLUDED
void mim_ip_span_nullspace(int nf, int d, double *C, double *A,
double *X, double *work, int lwork);
void mim_ip_linpress_exact(int nf, int d, double vol, double *N,
double *K, double *Binv, double *T);
void mim_ip_simple(int nf, int d, double v, double *A, double *K,
double *C, double *N, double *Binv,
double *work, int lwork);
void mim_ip_simple_all(int ncells, int d, int max_ncf, int *ncf, int *cf,
int *fneighbour, double *fcentroid, double *fnormal,
double *farea, double *ccentroid, double *cvol,
double *perm, double *Binv);
#endif /* MIMETIC_H_INCLUDED */