SimpleTable improvements:
- Added constructor without DeckItem - Added addRow( ) method - Added random access get( ) methd.
This commit is contained in:
@@ -217,6 +217,14 @@ namespace Opm {
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<double>::const_iterator TableColumn::begin() const {
|
||||
return m_values.begin();
|
||||
}
|
||||
|
||||
std::vector<double>::const_iterator TableColumn::end() const {
|
||||
return m_values.end();
|
||||
}
|
||||
|
||||
|
||||
bool TableColumn::hasDefault( ) const {
|
||||
if (m_defaultCount > 0)
|
||||
@@ -303,6 +311,10 @@ namespace Opm {
|
||||
}
|
||||
|
||||
|
||||
std::vector<double> TableColumn::vectorCopy() const {
|
||||
return std::vector<double>( begin() , end());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user