20#ifndef OPM_OUTPUT_DATA_SOLUTION_HPP
21#define OPM_OUTPUT_DATA_SOLUTION_HPP
26#include <opm/output/data/Cells.hpp>
27#include <opm/input/eclipse/Units/UnitSystem.hpp>
32class Solution :
public std::map< std::string, data::CellData > {
33 using Base = std::map< std::string, data::CellData >;
41 bool has(
const std::string& )
const;
47 std::vector< double >& data(
const std::string& );
48 const std::vector< double >& data(
const std::string& )
const;
50 std::pair< iterator, bool > insert( std::string name,
52 std::vector< double >,
58 template<
class Serializer>
61 serializer(
static_cast<Base&
>(*
this));
65 static Solution serializationTestObject()
69 sol.insert({
"test_data", CellData::serializationTestObject()});
Class for (de-)serializing.
Definition: Serializer.hpp:75
Definition: UnitSystem.hpp:33
Definition: Solution.hpp:32
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:29