From 900041729b418e6e3d3e3ab62ad379bd302acd59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Wed, 29 Sep 2010 09:41:09 +0000 Subject: [PATCH] Remove disabled code. --- hybsys.c | 198 ------------------------------------------------------- 1 file changed, 198 deletions(-) diff --git a/hybsys.c b/hybsys.c index 4d675537..4884ed0e 100644 --- a/hybsys.c +++ b/hybsys.c @@ -676,201 +676,3 @@ hybsys_compute_press_flux_well(int nc, const int *pgconn, int nf, /* Assign well BHP from linsolve output */ memcpy(wpress, pi + nf, nw * sizeof *wpress); } - - -#if 0 -/* - * Routines to assemble global matrix - * - */ - -/* ---------------------------------------------------------------------- */ -static MAT_SIZE_T * -hybsys_build_ia(int nc, int nf, - const int *pconn, const int *conn) -/* ---------------------------------------------------------------------- */ -{ - MAT_SIZE_T *ia = malloc((nf+1) * sizeof *ia); - - int i; - for(i=0; im = A->n = nf; - hybsys_build_matrix_structure(nc, nf, pconn, conn, &A->ia, &A->ja); - hybsys_assemble_global_system(nc, nf, pconn, conn, S, R, &A->sa, b, A->ia); -} -#endif