Re-align variable declarations various assemble*() methods.

This commit is contained in:
Bård Skaflestad 2012-05-09 19:21:00 +02:00
parent 97ed64f438
commit 56802231ce

View File

@ -569,8 +569,6 @@ well_solution(const struct UnstructuredGrid *G ,
} }
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
static void static void
assemble_incompressible(struct UnstructuredGrid *G , assemble_incompressible(struct UnstructuredGrid *G ,
@ -720,10 +718,9 @@ ifs_tpfa_assemble_comprock(struct UnstructuredGrid *G ,
struct ifs_tpfa_data *h ) struct ifs_tpfa_data *h )
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
{ {
int c; int c, system_singular, ok;
size_t j; size_t j;
double d; double d;
int system_singular, ok;
assemble_incompressible(G, F, trans, gpress, h, &system_singular, &ok); assemble_incompressible(G, F, trans, gpress, h, &system_singular, &ok);
@ -762,9 +759,8 @@ ifs_tpfa_assemble_comprock_increment(struct UnstructuredGrid *G ,
struct ifs_tpfa_data *h ) struct ifs_tpfa_data *h )
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
{ {
int c; int c, system_singular, ok;
size_t j; size_t j;
int system_singular, ok;
double *v; double *v;
assemble_incompressible(G, F, trans, gpress, h, &system_singular, &ok); assemble_incompressible(G, F, trans, gpress, h, &system_singular, &ok);