20#ifndef OPM_OUTPUT_DATA_SOLUTION_HPP
21#define OPM_OUTPUT_DATA_SOLUTION_HPP
23#include <opm/output/data/Cells.hpp>
25#include <opm/input/eclipse/Units/UnitSystem.hpp>
32namespace Opm {
namespace data {
34class Solution :
public std::map<std::string, data::CellData>
36 using Base = std::map<std::string, data::CellData>;
44 bool has(
const std::string& )
const;
50 std::vector< double >& data(
const std::string& );
51 const std::vector< double >& data(
const std::string& )
const;
53 std::pair< iterator, bool > insert( std::string name,
55 std::vector< double >,
61 template<
class Serializer>
64 serializer(
static_cast<Base&
>(*
this));
68 static Solution serializationTestObject()
72 sol.insert({
"test_data", CellData::serializationTestObject()});
Class for (de-)serializing.
Definition: Serializer.hpp:84
Definition: UnitSystem.hpp:33
Definition: Solution.hpp:35
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:30