version 3.8.0
Loading...
Searching...
No Matches
fluidsystem.hh
Go to the documentation of this file.
1
// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2
// vi: set et ts=4 sw=4 sts=4:
3
//
4
// SPDX-FileCopyrightInfo: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5
// SPDX-License-Identifier: GPL-3.0-or-later
6
//
12
#ifndef DUMUX_PYTHON_MATERIAL_FLUIDSYSTEMS_FLUIDSYSTEM_HH
13
#define DUMUX_PYTHON_MATERIAL_FLUIDSYSTEMS_FLUIDSYSTEM_HH
14
15
#include <dune/python/pybind11/pybind11.h>
16
#include <dune/python/pybind11/stl.h>
17
18
namespace
Dumux::Python
{
19
20
template
<
class
FS,
class
... options>
21
void
registerFluidSystem
(pybind11::handle scope,
22
pybind11::class_<FS, options...> cls)
23
{
24
cls.def(pybind11::init());
25
}
26
27
}
// namespace Dumux::Python
28
29
#endif
Dumux::Python
Definition
python/assembly/fvassembler.hh:18
Dumux::Python::registerFluidSystem
void registerFluidSystem(pybind11::handle scope, pybind11::class_< FS, options... > cls)
Definition
fluidsystem.hh:21
dumux
python
material
fluidsystems
fluidsystem.hh
© Copyright 2010-
DuMux project contributors
(doc pages:
CC-BY 4.0
/ code examples:
GPLv3 or later
)
3.8.0 Generated by
1.9.8