diff --git a/dumux/decoupled/2p2c/fvtransport2p2c.hh b/dumux/decoupled/2p2c/fvtransport2p2c.hh index 73341999b27c2223d7070b6b254f2cc06ce43cd7..eaeb8f26e99caa9506962b75c46660c0c622d4ec 100644 --- a/dumux/decoupled/2p2c/fvtransport2p2c.hh +++ b/dumux/decoupled/2p2c/fvtransport2p2c.hh @@ -244,7 +244,6 @@ void FVTransport2P2C<TypeTag>::update(const Scalar t, Scalar& dt, TransportSolut { // get cell infos int globalIdxI = problem().variables().index(*eIt); - const GlobalPosition globalPos = eIt->geometry().center(); CellData& cellDataI = problem().variables().cellData(globalIdxI); // some variables for time step calculation diff --git a/dumux/decoupled/2p2c/fvtransport2p2cmultiphysics.hh b/dumux/decoupled/2p2c/fvtransport2p2cmultiphysics.hh index 598244d5e31e8b48e208912ad6adf2e9040a1478..6f5f9d520506d84dde9e6bce5575c95371f39028 100644 --- a/dumux/decoupled/2p2c/fvtransport2p2cmultiphysics.hh +++ b/dumux/decoupled/2p2c/fvtransport2p2cmultiphysics.hh @@ -156,7 +156,6 @@ void FVTransport2P2CMultiPhysics<TypeTag>::update(const Scalar t, Scalar& dt, Tr { // get cell infos int globalIdxI = problem().variables().index(*eIt); - const GlobalPosition globalPos = eIt->geometry().center(); CellData& cellDataI = problem().variables().cellData(globalIdxI); if(impet or cellDataI.subdomain()==2) // estimate only necessary in subdomain