Skip to content

Commit

Permalink
Add support for output of relative permeabilities to the .INIT file f…
Browse files Browse the repository at this point in the history
…or SLGOF input.
  • Loading branch information
vkip committed Nov 5, 2024
1 parent c0f2302 commit ef21815
Show file tree
Hide file tree
Showing 3 changed files with 382 additions and 12 deletions.
8 changes: 8 additions & 0 deletions opm/input/eclipse/EclipseState/Tables/TableColumn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,14 @@ namespace Opm {
return m_values.end();
}

std::vector<double>::const_reverse_iterator TableColumn::rbegin() const {
return m_values.rbegin();
}

std::vector<double>::const_reverse_iterator TableColumn::rend() const {
return m_values.rend();
}


bool TableColumn::hasDefault( ) const {
if (m_defaultCount > 0)
Expand Down
2 changes: 2 additions & 0 deletions opm/input/eclipse/EclipseState/Tables/TableColumn.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ namespace Opm {
std::vector<double> vectorCopy() const;
std::vector<double>::const_iterator begin() const;
std::vector<double>::const_iterator end() const;
std::vector<double>::const_reverse_iterator rbegin() const;
std::vector<double>::const_reverse_iterator rend() const;

bool operator==(const TableColumn& data) const;

Expand Down
Loading

0 comments on commit ef21815

Please sign in to comment.