getOrderedMap added

This commit is contained in:
Antonella Ritorto 2023-11-23 16:07:02 +01:00
parent 75a735c6b1
commit 8679fa4f49
2 changed files with 5 additions and 0 deletions

View File

@ -45,6 +45,7 @@ public:
const Carfin& getLgr(const std::string& lgrName) const;
Carfin& getLgr(size_t lgrIndex);
const Carfin& getLgr(size_t lgrIndex) const;
const OrderedMap<Carfin,8>& getOrderedMap() const;
void addLgr(const EclipseGrid& grid, const DeckRecord& lgrRecord);

View File

@ -71,6 +71,10 @@ namespace Opm {
return m_lgrs.iget( lgrIndex );
}
const Opm::OrderedMap<Carfin,8>& LgrCollection::getOrderedMap() const
{
return m_lgrs;
}
void LgrCollection::addLgr(const EclipseGrid& grid, const DeckRecord& lgrRecord) {
Carfin lgr(grid,