multiphase adaption criterion: some improvements

now all phases are considered and a potential division by zero (if all
the saturations of a phase are zero) is avoided.
This commit is contained in:
Andreas Lauser 2015-08-06 13:31:08 +02:00
parent 408afe74fe
commit 5de508135a

View File

@ -372,7 +372,6 @@ public:
void endTimeStep() void endTimeStep()
{ {
#ifndef NDEBUG #ifndef NDEBUG
/*
this->model().checkConservativeness(); this->model().checkConservativeness();
// Calculate storage terms // Calculate storage terms
@ -383,7 +382,6 @@ public:
if (this->gridView().comm().rank() == 0) { if (this->gridView().comm().rank() == 0) {
std::cout << "Storage: " << storage << std::endl << std::flush; std::cout << "Storage: " << storage << std::endl << std::flush;
} }
*/
#endif // NDEBUG #endif // NDEBUG
} }