20#ifndef OPM_TABLE_CONTAINER_HPP
21#define OPM_TABLE_CONTAINER_HPP
62 using TableMap = std::map<size_t, std::shared_ptr<SimpleTable>>;
77 const TableMap& tables()
const;
78 void addTable(
size_t tableNumber , std::shared_ptr<SimpleTable> table);
85 size_t hasTable(
size_t tableNumber)
const;
86 const SimpleTable& getTable(
size_t tableNumber)
const;
87 const SimpleTable& operator[](
size_t tableNumber)
const;
89 template <
class TableType>
90 const TableType& getTable(
size_t tableNumber)
const {
91 const SimpleTable &simpleTable = getTable( tableNumber );
92 const TableType * table =
static_cast<const TableType *
>( &simpleTable );
98 template<
class Serializer>
101 serializer(m_maxTables);
102 serializer(m_tables);
Class for (de-)serializing.
Definition Serializer.hpp:84
Definition SimpleTable.hpp:35
Definition TableContainer.hpp:31
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30