mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 21:43:27 -06:00
TofDiscGalReorder and TofReader: remove warnings due to new boost version.
This commit is contained in:
parent
cb512ef10d
commit
9c8460d471
@ -217,7 +217,8 @@ namespace Opm
|
||||
tracerhead_by_cell_.resize(grid_.number_of_cells, NoTracerHead);
|
||||
}
|
||||
for (int tr = 0; tr < num_tracers_; ++tr) {
|
||||
for (int i = 0; i < tracerheads[tr].size(); ++i) {
|
||||
const unsigned int tracerheadsSize = tracerheads[tr].size();
|
||||
for (unsigned int i = 0; i < tracerheadsSize; ++i) {
|
||||
const int cell = tracerheads[tr][i];
|
||||
basis_func_->addConstant(1.0, &tracer_coeff[cell*num_tracers_*num_basis + tr*num_basis]);
|
||||
tracer_coeff[cell*num_tracers_ + tr] = 1.0;
|
||||
|
@ -142,7 +142,8 @@ namespace Opm
|
||||
tracerhead_by_cell_.resize(num_cells, NoTracerHead);
|
||||
}
|
||||
for (int tr = 0; tr < num_tracers; ++tr) {
|
||||
for (int i = 0; i < tracerheads[tr].size(); ++i) {
|
||||
const unsigned int tracerheadsSize = tracerheads[tr].size();
|
||||
for (unsigned int i = 0; i < tracerheadsSize; ++i) {
|
||||
const int cell = tracerheads[tr][i];
|
||||
tracer[num_cells * tr + cell] = 1.0;
|
||||
tracerhead_by_cell_[cell] = tr;
|
||||
|
Loading…
Reference in New Issue
Block a user