mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-07-07 04:53:03 -05:00
Remove unused variables
This commit is contained in:
parent
66eb6e1625
commit
67bcc491ff
|
@ -110,9 +110,6 @@ std::vector<double>
|
|||
PyFluidState<TypeTag>::
|
||||
getFluidStateVariable(const std::string &name) const
|
||||
{
|
||||
using ElementIterator = typename GridView::template Codim<0>::Iterator;
|
||||
using Element = typename GridView::template Codim<0>::Entity;
|
||||
|
||||
Model &model = this->ebos_simulator_->model();
|
||||
auto size = model.numGridDof();
|
||||
std::vector<double> array(size);
|
||||
|
@ -121,7 +118,6 @@ getFluidStateVariable(const std::string &name) const
|
|||
* model.numGridDof()
|
||||
*/
|
||||
ElementContext elem_ctx(*this->ebos_simulator_);
|
||||
const ElementIterator& elem_end_itr = grid_view.template end</*codim=*/0>();
|
||||
auto var_type = getVariableType_(name);
|
||||
for (const auto& elem : elements(grid_view, Dune::Partitions::interior)) {
|
||||
elem_ctx.updatePrimaryStencil(elem);
|
||||
|
|
Loading…
Reference in New Issue
Block a user