Align multi-line parameter lists and structure members.

No functional changes.
This commit is contained in:
Bård Skaflestad
2012-03-16 11:06:01 +01:00
parent a02089eabb
commit 83345b4e3a
2 changed files with 25 additions and 25 deletions

View File

@@ -190,10 +190,10 @@ compute_grav_term(struct UnstructuredGrid *G, const double *gpress,
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
static int static int
assemble_bc_contrib(struct UnstructuredGrid *G , assemble_bc_contrib(struct UnstructuredGrid *G ,
const struct FlowBoundaryConditions *bc , const struct FlowBoundaryConditions *bc ,
const double *trans, const double *trans,
struct ifs_tpfa_data *h ) struct ifs_tpfa_data *h )
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
{ {
int is_neumann, is_outflow; int is_neumann, is_outflow;
@@ -290,11 +290,11 @@ ifs_tpfa_construct(struct UnstructuredGrid *G,
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
void void
ifs_tpfa_assemble(struct UnstructuredGrid *G, ifs_tpfa_assemble(struct UnstructuredGrid *G ,
const struct ifs_tpfa_forces *F, const struct ifs_tpfa_forces *F ,
const double *trans, const double *trans ,
const double *gpress, const double *gpress,
struct ifs_tpfa_data *h) struct ifs_tpfa_data *h )
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
{ {
int c1, c2, c, i, f, j1, j2; int c1, c2, c, i, f, j1, j2;
@@ -351,11 +351,11 @@ ifs_tpfa_assemble(struct UnstructuredGrid *G,
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
void void
ifs_tpfa_press_flux(struct UnstructuredGrid *G, ifs_tpfa_press_flux(struct UnstructuredGrid *G ,
const struct ifs_tpfa_forces *F, const struct ifs_tpfa_forces *F ,
const double *trans, const double *trans,
struct ifs_tpfa_data *h, struct ifs_tpfa_data *h ,
struct ifs_tpfa_solution *soln) struct ifs_tpfa_solution *soln )
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
{ {
int c1, c2, f; int c1, c2, f;

View File

@@ -45,8 +45,8 @@ struct ifs_tpfa_solution {
}; };
struct ifs_tpfa_forces { struct ifs_tpfa_forces {
const double *src; const double *src;
const struct FlowBoundaryConditions *bc; const struct FlowBoundaryConditions *bc ;
}; };
@@ -55,18 +55,18 @@ ifs_tpfa_construct(struct UnstructuredGrid *G,
struct Wells *W); struct Wells *W);
void void
ifs_tpfa_assemble(struct UnstructuredGrid *G, ifs_tpfa_assemble(struct UnstructuredGrid *G ,
const struct ifs_tpfa_forces *F, const struct ifs_tpfa_forces *F ,
const double *trans, const double *trans ,
const double *gpress, const double *gpress,
struct ifs_tpfa_data *h); struct ifs_tpfa_data *h );
void void
ifs_tpfa_press_flux(struct UnstructuredGrid *G, ifs_tpfa_press_flux(struct UnstructuredGrid *G ,
const struct ifs_tpfa_forces *F, const struct ifs_tpfa_forces *F ,
const double *trans, const double *trans,
struct ifs_tpfa_data *h, struct ifs_tpfa_data *h ,
struct ifs_tpfa_solution *soln); struct ifs_tpfa_solution *soln );
void void
ifs_tpfa_destroy(struct ifs_tpfa_data *h); ifs_tpfa_destroy(struct ifs_tpfa_data *h);