Made grid argument of compute_sequence() const.

This commit is contained in:
Atgeirr Flø Rasmussen 2012-02-09 23:28:47 +01:00
parent 4f0d501ac6
commit 7de03af4c1
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ compute_reorder_sequence(int nc, int nf, int *cellfaces, int *faceptr, int *face
free(work);
}
void compute_sequence(struct UnstructuredGrid *grid, const double *flux,
void compute_sequence(const struct UnstructuredGrid *grid, const double *flux,
int *sequence,
int *components, int *ncomponents)
{

View File

@ -7,7 +7,7 @@ extern "C" {
#endif
struct UnstructuredGrid;
void compute_sequence(struct UnstructuredGrid *grid, const double *flux,
void compute_sequence(const struct UnstructuredGrid *grid, const double *flux,
int *sequence, int *components, int *ncomponents);