mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-26 17:20:59 -06:00
Activates transmissibilities test for CpGrid without warnings.
Tests run fine for both grids.
This commit is contained in:
parent
57bf00cd27
commit
dca6b436a7
@ -105,14 +105,6 @@ namespace Opm
|
||||
Vector htrans(AutoDiffGrid::numCellFaces(grid));
|
||||
Grid* ug = const_cast<Grid*>(& grid);
|
||||
|
||||
#ifdef HAVE_DUNE_CORNERPOINT
|
||||
if (std::is_same<Grid, Dune::CpGrid>::value) {
|
||||
if (use_local_perm) {
|
||||
OPM_THROW(std::runtime_error, "Local coordinate permeability not supported for CpGrid");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (! use_local_perm) {
|
||||
tpfa_htrans_compute(ug, props.permeability(), htrans.data());
|
||||
}
|
||||
|
@ -273,9 +273,6 @@ BOOST_AUTO_TEST_CASE(TransmissibilityMultipliersCpGrid)
|
||||
Opm::parameter::ParameterGroup param;
|
||||
Opm::ParserPtr parser(new Opm::Parser() );
|
||||
|
||||
#warning TODO: there seems to be some index mess-up in DerivedGeology in the case of Dune::CpGrid
|
||||
#if 0
|
||||
|
||||
/////
|
||||
// create a DerivedGeology object without any multipliers involved
|
||||
Opm::DeckConstPtr origDeck = parser->parseString(origDeckString);
|
||||
@ -334,9 +331,6 @@ BOOST_AUTO_TEST_CASE(TransmissibilityMultipliersCpGrid)
|
||||
|
||||
return checkTransmissibilityValues(*origGrid, origGeology, multGeology,
|
||||
multMinusGeology, ntgGeology);
|
||||
}
|
||||
}
|
||||
#endif // there seems to be some index mess-up in DerivedGeology in the case of Dune::CpGrid
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user