mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Refactor construction of driving forces in preparation of well support.
This commit is contained in:
parent
3dbd7e4599
commit
78687dc5c9
@ -109,7 +109,9 @@ namespace Opm
|
||||
}
|
||||
}
|
||||
|
||||
const ifs_tpfa_forces F = { &src[0], bcs };
|
||||
ifs_tpfa_forces F = { 0 };
|
||||
if (! src.empty()) { F.src = &src[0]; }
|
||||
F.bc = bcs;
|
||||
|
||||
ifs_tpfa_assemble(gg, &F, &trans_[0], &gpress_omegaweighted_[0], h_);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user