1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
C++ Integration
===============
This example demonstrates how to use fluids from cpp.
Source Code
-----------
.. literalinclude:: cpp/main.cpp
:language: cpp
:linenos:
Requirements
------------
- Python with fluids installed
- pybind11
Usage Notes
-----------
- The example demonstrates basic integration with fluids
- Essentially zero overhead - 1.7 microseconds for friction factor, 8 microseconds for tank creation; only C using the has been observed to have a faster interface, able to save < 0.5 microseconds/call
|