mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
commit
13b7a4a426
@ -369,7 +369,7 @@ namespace Opm {
|
|||||||
// the reservoir equations as a source term.
|
// the reservoir equations as a source term.
|
||||||
wellModel().assemble(iterationIdx, dt);
|
wellModel().assemble(iterationIdx, dt);
|
||||||
}
|
}
|
||||||
catch ( const Dune::FMatrixError& e )
|
catch ( const Dune::FMatrixError& )
|
||||||
{
|
{
|
||||||
OPM_THROW(Opm::NumericalIssue,"Error encounted when solving well equations");
|
OPM_THROW(Opm::NumericalIssue,"Error encounted when solving well equations");
|
||||||
}
|
}
|
||||||
|
@ -324,12 +324,6 @@ inline VFPEvaluation operator*(
|
|||||||
/**
|
/**
|
||||||
* Helper function which interpolates data using the indices etc. given in the inputs.
|
* Helper function which interpolates data using the indices etc. given in the inputs.
|
||||||
*/
|
*/
|
||||||
#ifdef __GNUC__
|
|
||||||
#pragma GCC push_options
|
|
||||||
#pragma GCC optimize ("unroll-loops")
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
inline VFPEvaluation interpolate(
|
inline VFPEvaluation interpolate(
|
||||||
const VFPProdTable::array_type& array,
|
const VFPProdTable::array_type& array,
|
||||||
const InterpData& flo_i,
|
const InterpData& flo_i,
|
||||||
@ -502,17 +496,6 @@ inline VFPEvaluation interpolate(
|
|||||||
return nn[0][0];
|
return nn[0][0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __GNUC__
|
|
||||||
#pragma GCC pop_options //unroll loops
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
inline VFPEvaluation bhp(const VFPProdTable* table,
|
inline VFPEvaluation bhp(const VFPProdTable* table,
|
||||||
const double& aqua,
|
const double& aqua,
|
||||||
const double& liquid,
|
const double& liquid,
|
||||||
|
Loading…
Reference in New Issue
Block a user