Merge pull request #3166 from totto82/fixSaltVdExt

extrapolate saltvd table

Closes #2889.
This commit is contained in:
Bård Skaflestad 2021-04-20 11:30:07 +02:00 committed by GitHub
commit 4c76489cbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1762,7 +1762,7 @@ private:
const auto& cells = reg.cells(i);
for (const auto& cell : cells) {
const double depth = cellCenterDepth_[cell];
this->saltConcentration_[cell] = saltVdTable_[i].eval(depth);
this->saltConcentration_[cell] = saltVdTable_[i].eval(depth, /*extrapolate=*/true);
}
}
}