-// Copyright (C) 2021 CEA/DEN, EDF R&D
+// Copyright (C) 2021-2022 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
%{
#include "KernelBasis.hxx"
+#include "HeatMarcel.hxx"
+using namespace SALOME;
%}
%include "std_string.i"
+%rename (HeatMarcel) HeatMarcelSwig;
+
bool getSSLMode();
void setSSLMode(bool sslMode);
+bool getGUIMode();
+void setGUIMode(bool guiMode);
+
std::string getIOROfEmbeddedNS();
void setIOROfEmbeddedNS(const std::string& ior);
+
+double GetTimeAdjustmentCst();
+
+%inline
+{
+PyObject *HeatMarcelSwig(double timeAjustment, unsigned int nbThreads = 0)
+{
+ double timeInS = 0.0;
+ long double piVal = HeatMarcel(timeAjustment,timeInS,nbThreads);
+ PyObject *ret(PyTuple_New(2));
+ PyTuple_SetItem(ret,0,SWIG_From_double((double)piVal));
+ PyTuple_SetItem(ret,1,SWIG_From_double(timeInS));
+ return ret;
+}
+}