Made bc argument const.

This commit is contained in:
Atgeirr Flø Rasmussen 2012-03-07 09:32:02 +01:00
parent 23a890d841
commit d0afc1f8e4
2 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ 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 ,
struct FlowBoundaryConditions *bc , const struct FlowBoundaryConditions *bc ,
const double *trans, const double *trans,
struct ifs_tpfa_data *h ) struct ifs_tpfa_data *h )
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */

View File

@ -41,7 +41,7 @@ struct ifs_tpfa_data {
struct ifs_tpfa_forces { struct ifs_tpfa_forces {
const double *src; const double *src;
struct FlowBoundaryConditions *bc; const struct FlowBoundaryConditions *bc;
}; };