Skip to content
Snippets Groups Projects
Commit f02fd505 authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

made mimetic stuff work again, thank you, Andreas!

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@6503 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 9e2e5a0f
No related branches found
No related tags found
No related merge requests found
...@@ -150,6 +150,7 @@ public: ...@@ -150,6 +150,7 @@ public:
void initialize(bool solveTwice = true) void initialize(bool solveTwice = true)
{ {
updateMaterialLaws(); updateMaterialLaws();
pressTrace_ = 0; f_ = 0;
assemble(true); assemble(true);
solve(); solve();
postprocess(); postprocess();
...@@ -239,7 +240,7 @@ void MimeticPressure2P<TypeTag>::solve() ...@@ -239,7 +240,7 @@ void MimeticPressure2P<TypeTag>::solve()
std::cout << "MimeticPressure2P: solve for pressure" << std::endl; std::cout << "MimeticPressure2P: solve for pressure" << std::endl;
Solver solver(problem_); Solver solver(problem_);
solver.solve(*A_, problem_.variables().pressure(), f_); solver.solve(*A_, pressTrace_, f_);
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment