20#ifndef OPM_PY_MATERIAL_STATE_HEADER_INCLUDED
21#define OPM_PY_MATERIAL_STATE_HEADER_INCLUDED
23#include <opm/models/utils/propertysystem.hh>
34 template <
class TypeTag>
36 using Simulator = GetPropType<TypeTag, Opm::Properties::Simulator>;
37 using Problem = GetPropType<TypeTag, Opm::Properties::Problem>;
38 using Model = GetPropType<TypeTag, Opm::Properties::Model>;
39 using ElementContext = GetPropType<TypeTag, Opm::Properties::ElementContext>;
40 using FluidSystem = GetPropType<TypeTag, Opm::Properties::FluidSystem>;
41 using Indices = GetPropType<TypeTag, Opm::Properties::Indices>;
42 using GridView = GetPropType<TypeTag, Opm::Properties::GridView>;
46 : ebosSimulator_(ebosSimulator) { }
48 std::unique_ptr<double []> getCellVolumes( std::size_t *size);
49 std::unique_ptr<double []> getPorosity( std::size_t *size);
50 void setPorosity(
const double *poro, std::size_t size);
52 Simulator *ebosSimulator_;
56#include "PyMaterialState_impl.hpp"
Definition: PyMaterialState.hpp:35