Made a computeWDP-function

This commit is contained in:
Kjetil Olsen Lye
2012-04-12 17:50:51 +02:00
parent fb6bde6e04
commit 7c21765100
3 changed files with 31 additions and 1 deletions

View File

@@ -124,6 +124,7 @@ namespace Opm
ifs_tpfa_forces F = { NULL, NULL, wells_, NULL, NULL };
if (! src.empty()) { F.src = &src[0]; }
F.bc = bcs;
F.totmob = &totmob[0];
ifs_tpfa_assemble(gg, &F, &trans_[0], &gpress_omegaweighted_[0], h_);
@@ -199,7 +200,7 @@ namespace Opm
ifs_tpfa_forces F = { NULL, NULL, wells_, NULL, NULL };
if (! src.empty()) { F.src = &src[0]; }
F.bc = bcs;
F.totmob = &totmob[0];
ifs_tpfa_assemble(gg, &F, &trans_[0], &gpress_omegaweighted_[0], h_);
// TODO: this is a hack, it would be better to handle this in a