DOLFIN Uses CppHeaderParser
Posted by: senex 12 years, 3 months ago
(Comments)
The latest version of DOLFIN now uses CppHeaderParser. DOLFIN is a C++/Python library that functions as the main user interface of FEniCS (More here on dolfin). FEniCS is a collection of free software with an extensive list of features for automated, efficient solution of differential equations.
CppHeaderParser is used in the module that JITs code. CppHeaderParser will parse the header files, from there SWIG code will be generated then compiled. This allows Python to call native C++ code without manually generating intermediary bridge code as is traditionally required by SWIG.
Thanks to Johan Hake for helping me find bugs and test improvements to CppHeaderParser.
CppHeaderParser can be found in action in compile_extension_module(...) found in /site-packages/dolfin/compilemodules/compilemodule.py which calls parse_and_extract_type_info(code) found in /site-packages/dolfin_utils/cppparser/utils.py
Recent Posts
- Podcast feed for Connected Life Christian Church
- PulseAudio Sound Sink
- CppHeaderParser 2.4.3 Released
- CppHeaderParser 2.4.2 Released
- CppHeaderParser 2.4.1 Released
Archive
2016
- November (1)
2014
2013
- August (1)
2012
2011
2006
- June (2)
Categories
- Comic (1)
- CppHeaderParser (8)
- HOWTO (3)
- Project (2)
Authors
- senex (23)
Comments