Skip to content

Latest commit

 

History

History
 
 

c

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Interfacing with C

Using cffi

The files evolve.h and evolve.c contain a pure C implementation of the single time step in heat equation. The C implemention can be built into a shared library with the provided Makefile by executing make command. Use cffi for utilizing the library function instead of the Python function in heat.py. Compare the performance to Cython implementation.