Files
opm-common/opm/parser/eclipse/Utility/PvtgTable.hpp
Andreas Lauser 27efd0d1fa implement multi-region full tables
detecting empty records is still pretty hacky: When calculating the
number of flat items, we stop at the first item for which the default
was applied.

Also, this patch corrects the names of the columes used by the PVTG
keyword. (the first column is pressure, then comes Rv.)
2014-01-16 13:12:40 +01:00

49 lines
1.5 KiB
C++

/*
Copyright (C) 2013 by Andreas Lauser
This file is part of the Open Porous Media project (OPM).
OPM is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OPM is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef OPM_PARSER_PVTG_TABLE_HPP
#define OPM_PARSER_PVTG_TABLE_HPP
#include "FullTable.hpp"
#include "PvtgInnerTable.hpp"
#include "PvtgOuterTable.hpp"
namespace Opm {
/*!
* \brief Read the table for the PVTG and provide convenient access to it.
*/
class PvtgTable : public Opm::FullTable<Opm::PvtgOuterTable, Opm::PvtgInnerTable>
{
typedef Opm::FullTable<Opm::PvtgOuterTable, Opm::PvtgInnerTable> ParentType;
public:
/*!
* \brief Read the table for the PVTG and provide convenient access to it.
*/
PvtgTable(Opm::DeckKeywordConstPtr keyword, int tableIdx)
: ParentType(keyword, tableIdx)
{ }
};
typedef std::shared_ptr<PvtgTable> PvtgTablePtr;
typedef std::shared_ptr<const PvtgTable> PvtgConstTablePtr;
}
#endif // OPM_PARSER_FULL_TABLE_HPP