SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
python.cpp File Reference
#include <Python.h>
#include "meshkit/job.hpp"
#include "meshkit/io.hpp"
#include "meshkit/raster.hpp"
#include "meshkit/constraints.hpp"
#include "meshkit/constraintaudit.hpp"
#include "mixed.hpp"
#include <thread>
#include <condition_variable>
#include <chrono>
#include <set>
Include dependency graph for python.cpp:

Macros

#define PY_SSIZE_T_CLEAN
 
#define REAL(d, k, v)
 
#define INT(d, k, v)
 
#define BOOL(d, k, v)
 
#define COUNT(k, v)   put(d.p, k, PyLong_FromUnsignedLongLong(v))
 
#define ARRAY(name, id)
 

Functions

PyMODINIT_FUNC PyInit__meshkit ()
 

Macro Definition Documentation

◆ ARRAY

#define ARRAY (   name,
  id 
)
Value:
{const_cast<char *>(name), reinterpret_cast<getter>(meshArray), nullptr, nullptr, \
reinterpret_cast<void *>(id)}

◆ BOOL

#define BOOL (   d,
  k,
  v 
)
Value:
if (auto item = field(d, k)) \
v = boolean(item)
int k
Definition mesh2dresultsexport.cpp:694

◆ COUNT

#define COUNT (   k,
  v 
)    put(d.p, k, PyLong_FromUnsignedLongLong(v))

◆ INT

#define INT (   d,
  k,
  v 
)
Value:
if (auto item = field(d, k)) \
v = integerField<std::decay_t<decltype(v)>>(item)

◆ PY_SSIZE_T_CLEAN

#define PY_SSIZE_T_CLEAN

◆ REAL

#define REAL (   d,
  k,
  v 
)
Value:
if (auto item = field(d, k)) \
v = number(item)
std::uint64_t number
Definition smsio.cpp:24

Function Documentation

◆ PyInit__meshkit()

PyMODINIT_FUNC PyInit__meshkit ( )