Expand description of function create_wells().

Restore original parameter names in the process.
This commit is contained in:
Bård Skaflestad
2012-04-22 11:50:41 +02:00
parent 829f6aa003
commit e444a3b77e
2 changed files with 25 additions and 10 deletions

View File

@@ -322,7 +322,7 @@ wells_reserve(int nwells, int nperf, struct Wells *W)
/* ---------------------------------------------------------------------- */
struct Wells *
create_wells(int nwells_reserve_cap, int nperf_reserve_cap)
create_wells(int nwells, int nperf)
/* ---------------------------------------------------------------------- */
{
int ok;
@@ -349,8 +349,8 @@ create_wells(int nwells_reserve_cap, int nperf_reserve_cap)
if (ok) {
W->well_connpos[0] = 0;
if ((nwells_reserve_cap > 0) || (nperf_reserve_cap > 0)) {
ok = wells_reserve(nwells_reserve_cap, nperf_reserve_cap, W);
if ((nwells > 0) || (nperf > 0)) {
ok = wells_reserve(nwells, nperf, W);
}
}