mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 21:43:27 -06:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
7957198131
@ -35,6 +35,7 @@ void Opm::TransportModelInterface::reorderAndTransport(const UnstructuredGrid& g
|
||||
|
||||
// Invoke appropriate solve method for each interdependent component.
|
||||
for (int comp = 0; comp < ncomponents; ++comp) {
|
||||
#if 0
|
||||
#ifdef MATLAB_MEX_FILE
|
||||
// \TODO replace this with general signal handling code, check if it costs performance.
|
||||
if (interrupt_signal) {
|
||||
@ -42,6 +43,7 @@ void Opm::TransportModelInterface::reorderAndTransport(const UnstructuredGrid& g
|
||||
"cells finished.\n", i, grid.number_of_cells);
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
const int comp_size = components[comp + 1] - components[comp];
|
||||
if (comp_size == 1) {
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* Copyright 2011 (c) Jostein R. Natvig <Jostein.R.Natvig at sintef.no> */
|
||||
|
||||
#include <opm/core/grid.h>
|
||||
|
||||
#ifdef MATLAB_MEX_FILE
|
||||
#include "grid.h"
|
||||
#include "reordersequence.h"
|
||||
#include "tarjan.h"
|
||||
#else
|
||||
#include <opm/core/grid.h>
|
||||
#include <opm/core/transport/reorder/reordersequence.h>
|
||||
#include <opm/core/transport/reorder/tarjan.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user