commit
d504715caa
@ -17,6 +17,7 @@
|
|||||||
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
#include <opm/core/flowdiagnostics/AnisotropicEikonal.hpp>
|
#include <opm/core/flowdiagnostics/AnisotropicEikonal.hpp>
|
||||||
#include <opm/core/grid/GridUtilities.hpp>
|
#include <opm/core/grid/GridUtilities.hpp>
|
||||||
#include <opm/core/grid.h>
|
#include <opm/core/grid.h>
|
||||||
|
@ -1243,7 +1243,7 @@ cfs_tpfa_impes_maxtime_cell(int c,
|
|||||||
enum { Water = 0, Oil = 1, Gas = 2 };
|
enum { Water = 0, Oil = 1, Gas = 2 };
|
||||||
enum { num_phases = 3 };
|
enum { num_phases = 3 };
|
||||||
double rho[num_phases];
|
double rho[num_phases];
|
||||||
double pot[num_phases];
|
double pot[num_phases] = { 0.0, 0.0, 0.0 };
|
||||||
/* Notation: dpmob[Oil][Water] is d/ds_w(lambda_o) */
|
/* Notation: dpmob[Oil][Water] is d/ds_w(lambda_o) */
|
||||||
double dpmob[num_phases][num_phases]
|
double dpmob[num_phases][num_phases]
|
||||||
= { {0.0, 0.0, 0.0}, {0.0, 0.0, 0.0}, {0.0, 0.0, 0.0} };
|
= { {0.0, 0.0, 0.0}, {0.0, 0.0, 0.0}, {0.0, 0.0, 0.0} };
|
||||||
|
Loading…
Reference in New Issue
Block a user