swh:1:snp:6088ab52ef49920e01e3f334cdf4d5d6c8a822b9
Raw File
Tip revision: d09bc368288c3c75f9d9b99c2cdb640b8d9963b8 authored by Dmitry Yu. Naumov on 31 August 2021, 12:51:00 UTC
Merge branch 'TH2M_ConstitutiveVariables' into 'master'
Tip revision: d09bc36
ogs_embedded_python.h
/**
 * \copyright
 * Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
 *            Distributed under a Modified BSD License.
 *              See accompanying file LICENSE.txt or
 *              http://www.opengeosys.org/project/license
 *
 */

#pragma once

#include <pybind11/embed.h>
#include "BaseLib/ExportSymbol.h"

namespace ApplicationsLib
{
/// Sets up an embedded Python interpreter and makes sure that the OpenGeoSys
/// Python module is not removed by the linker.
OGS_EXPORT_SYMBOL pybind11::scoped_interpreter setupEmbeddedPython();

}  // namespace ApplicationsLib
back to top