ifs_tpfa: Prepare for well solution recovery (BHP and perf. fluxes).

Expose new elements '.well_press' and '.well_flux' in the solution
structure and update callers accordingly.
This commit is contained in:
Bård Skaflestad
2012-03-21 11:08:56 +01:00
parent 55975a085a
commit ca0f46736e
2 changed files with 5 additions and 2 deletions

View File

@@ -121,7 +121,7 @@ namespace Opm
pressure.resize(grid_.number_of_cells);
faceflux.resize(grid_.number_of_faces);
ifs_tpfa_solution soln = { NULL, NULL };
ifs_tpfa_solution soln = { NULL, NULL, NULL, NULL };
soln.cell_press = &pressure[0];
soln.face_flux = &faceflux[0];
@@ -204,7 +204,7 @@ namespace Opm
pressure.resize(grid_.number_of_cells);
faceflux.resize(grid_.number_of_faces);
ifs_tpfa_solution soln = { NULL, NULL };
ifs_tpfa_solution soln = { NULL, NULL, NULL, NULL };
soln.cell_press = &pressure[0];
soln.face_flux = &faceflux[0];