From c2482fbf12299e10fc2ed3e1b8da5d119d4bfc00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Wed, 19 Oct 2011 19:48:46 +0200 Subject: [PATCH] Remove unused function. --- src/cfs_tpfa_residual.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/cfs_tpfa_residual.c b/src/cfs_tpfa_residual.c index bfdfd67c..e401dbaa 100644 --- a/src/cfs_tpfa_residual.c +++ b/src/cfs_tpfa_residual.c @@ -36,7 +36,7 @@ struct densrat_util { struct cfs_tpfa_res_impl { - int is_incomp; + int is_incomp /* One entry per component per face */ double *compflux_f; /* A_{ij} v_{ij} */ @@ -666,21 +666,6 @@ maxconn(grid_t *G) } -/* ---------------------------------------------------------------------- */ -static int -is_incompr(int nc, const double *accum) -/* ---------------------------------------------------------------------- */ -{ - int c, incompr; - - for (c = 0, incompr = 1; (c < nc) && incompr; c++) { - incompr = ! (fabs(accum[c]) > 0.0); - } - - return incompr; -} - - /* ====================================================================== * Public interface below separator. * ====================================================================== */