Pass gridView instead of the vanguard to the initialization

This commit is contained in:
Tor Harald Sandve
2020-11-27 13:46:04 +01:00
parent 6c06a72466
commit 246c339b13
3 changed files with 24 additions and 30 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ public:
EQUIL::DeckDependent::InitialStateComputer<TypeTag> initialState(materialLawManager,
eclState,
vanguard,
vanguard.gridView(),
simulator.problem().gravity()[dimWorld - 1]);
// copy the result into the array of initial fluid states