mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
Merge pull request #4448 from akva2/eclgenerictracermodel_remove_unused_member
EclGenericTracerModel: remove unused tracerResidual_ member
This commit is contained in:
@@ -219,9 +219,6 @@ doInit(bool rst, size_t numGridDof,
|
|||||||
throw std::logic_error(fmt::format("Can not initialize tracer: {}", tracer.name));
|
throw std::logic_error(fmt::format("Can not initialize tracer: {}", tracer.name));
|
||||||
}
|
}
|
||||||
|
|
||||||
// residual of tracers
|
|
||||||
tracerResidual_.resize(numGridDof);
|
|
||||||
|
|
||||||
// allocate matrix for storing the Jacobian of the tracer residual
|
// allocate matrix for storing the Jacobian of the tracer residual
|
||||||
tracerMatrix_ = std::make_unique<TracerMatrix>(numGridDof, numGridDof, TracerMatrix::random);
|
tracerMatrix_ = std::make_unique<TracerMatrix>(numGridDof, numGridDof, TracerMatrix::random);
|
||||||
|
|
||||||
|
|||||||
@@ -108,7 +108,6 @@ protected:
|
|||||||
std::vector<int> tracerPhaseIdx_;
|
std::vector<int> tracerPhaseIdx_;
|
||||||
std::vector<Dune::BlockVector<Dune::FieldVector<Scalar, 1>>> tracerConcentration_;
|
std::vector<Dune::BlockVector<Dune::FieldVector<Scalar, 1>>> tracerConcentration_;
|
||||||
std::unique_ptr<TracerMatrix> tracerMatrix_;
|
std::unique_ptr<TracerMatrix> tracerMatrix_;
|
||||||
TracerVector tracerResidual_;
|
|
||||||
std::vector<int> cartToGlobal_;
|
std::vector<int> cartToGlobal_;
|
||||||
std::vector<Dune::BlockVector<Dune::FieldVector<Scalar, 1>>> storageOfTimeIndex1_;
|
std::vector<Dune::BlockVector<Dune::FieldVector<Scalar, 1>>> storageOfTimeIndex1_;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user