Activates transmissibilities test for CpGrid without warnings.

Tests run fine for both grids.
This commit is contained in:
Markus Blatt 2015-01-14 21:37:58 +01:00
parent 57bf00cd27
commit dca6b436a7
2 changed files with 0 additions and 14 deletions

View File

@ -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());
}

View File

@ -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