mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Unequivocally exclude MATLAB timing printing.
It is not actually needed and prevents building when symbol MATLAB_MEX_FILE is defined.
This commit is contained in:
parent
a9783eefc7
commit
4d488c98a7
@ -35,6 +35,7 @@ void Opm::TransportModelInterface::reorderAndTransport(const UnstructuredGrid& g
|
|||||||
|
|
||||||
// Invoke appropriate solve method for each interdependent component.
|
// Invoke appropriate solve method for each interdependent component.
|
||||||
for (int comp = 0; comp < ncomponents; ++comp) {
|
for (int comp = 0; comp < ncomponents; ++comp) {
|
||||||
|
#if 0
|
||||||
#ifdef MATLAB_MEX_FILE
|
#ifdef MATLAB_MEX_FILE
|
||||||
// \TODO replace this with general signal handling code, check if it costs performance.
|
// \TODO replace this with general signal handling code, check if it costs performance.
|
||||||
if (interrupt_signal) {
|
if (interrupt_signal) {
|
||||||
@ -42,6 +43,7 @@ void Opm::TransportModelInterface::reorderAndTransport(const UnstructuredGrid& g
|
|||||||
"cells finished.\n", i, grid.number_of_cells);
|
"cells finished.\n", i, grid.number_of_cells);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
const int comp_size = components[comp + 1] - components[comp];
|
const int comp_size = components[comp + 1] - components[comp];
|
||||||
if (comp_size == 1) {
|
if (comp_size == 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user