20#ifndef OPM_PY_MATERIAL_STATE_HEADER_INCLUDED
21#define OPM_PY_MATERIAL_STATE_HEADER_INCLUDED
23#include <opm/models/common/multiphasebaseproperties.hh>
24#include <opm/models/discretization/common/fvbaseproperties.hh>
25#include <opm/models/utils/basicproperties.hh>
26#include <opm/models/utils/propertysystem.hh>
33 template <
class TypeTag>
35 using Simulator = GetPropType<TypeTag, Properties::Simulator>;
36 using Problem = GetPropType<TypeTag, Properties::Problem>;
37 using Model = GetPropType<TypeTag, Properties::Model>;
38 using ElementContext = GetPropType<TypeTag, Properties::ElementContext>;
39 using FluidSystem = GetPropType<TypeTag, Properties::FluidSystem>;
40 using Indices = GetPropType<TypeTag, Properties::Indices>;
41 using GridView = GetPropType<TypeTag, Properties::GridView>;
45 : simulator_(simulator) { }
49 void setPorosity(
const double *poro, std::size_t size);
51 Simulator* simulator_;
Definition: PyMaterialState.hpp:34
std::vector< double > getPorosity()
Definition: PyMaterialState_impl.hpp:41
void setPorosity(const double *poro, std::size_t size)
Definition: PyMaterialState_impl.hpp:56
PyMaterialState(Simulator *simulator)
Definition: PyMaterialState.hpp:44
std::vector< double > getCellVolumes()
Definition: PyMaterialState_impl.hpp:27
Definition: Pybind11Exporter.hpp:11