SimpleTable.hpp
Go to the documentation of this file.
size_t numColumns() const void init(Opm::DeckItemConstPtr deckItem, const std::vector< std::string > &columnNames) Read simple tables from keywords like SWOF. Definition: Deck.hpp:29 std::vector< std::vector< double > > m_columns Definition: SimpleTable.hpp:87 void createColumns(const std::vector< std::string > &columnNames) const std::vector< double > & getColumn(const std::string &name) const void checkNonDefaultable(const std::string &columnName) std::shared_ptr< const DeckKeyword > DeckKeywordConstPtr Definition: DeckKeyword.hpp:71 std::map< std::string, size_t > m_columnNames Definition: SimpleTable.hpp:86 std::vector< std::vector< bool > > m_valueDefaulted Definition: SimpleTable.hpp:88 void applyDefaultsConstant(const std::string &columnName, double value) std::shared_ptr< const SimpleTable > SimpleTableConstPtr Definition: SimpleTable.hpp:92 size_t numRows() const static size_t numTables(Opm::DeckKeywordConstPtr keyword) Returns the number of tables in a keyword. double evaluate(const std::string &columnName, double xPos) const Evaluate a column of the table at a given position. SimpleTable()=default void checkMonotonic(const std::string &columnName, bool isAscending, bool isStrictlyMonotonic=true) Definition: SimpleTable.hpp:32 Definition: PlyshlogTable.hpp:30 void applyDefaultsLinear(const std::string &columnName) |