SST  11.1.0
StructuralSimulationToolkit
pymodel_unitalgebra.h
1 // -*- c++ -*-
2 
3 // Copyright 2009-2021 NTESS. Under the terms
4 // of Contract DE-NA0003525 with NTESS, the U.S.
5 // Government retains certain rights in this software.
6 //
7 // Copyright (c) 2009-2021, NTESS
8 // All rights reserved.
9 //
10 // This file is part of the SST software package. For license
11 // information, see the LICENSE file in the top level directory of the
12 // distribution.
13 
14 #ifndef SST_CORE_MODEL_PYTHON_PYMODEL_UNITALGEBRA_H
15 #define SST_CORE_MODEL_PYTHON_PYMODEL_UNITALGEBRA_H
16 
17 #include "sst/core/sst_types.h"
18 #include "sst/core/unitAlgebra.h"
19 #include "sst/core/warnmacros.h"
20 
21 DISABLE_WARN_DEPRECATED_REGISTER
22 #include <Python.h>
23 REENABLE_WARNING
24 
25 extern "C" {
26 
28 {
29  PyObject_HEAD SST::UnitAlgebra obj;
30 };
31 
32 extern PyTypeObject PyModel_UnitAlgebraType;
33 
34 } /* extern C */
35 
36 #endif // SST_CORE_MODEL_PYTHON_PYMODEL_UNITALGEBRA_H
Definition: pymodel_unitalgebra.h:27
Performs Unit math in full precision.
Definition: unitAlgebra.h:106