Source Files¶
Source files contained within the directory src are split between two sub-directories separated by their language of implementation.
C++¶
The sub-directory extension contains the following content:
- dfba_utils.cpp: contains source code for exposing the extension module to Python
- emblp: contains class and function declarations for embedded LP problems
- methods: contains algorithms for integration of embedded LP problems
- solver_data.h: struct exposed to Python for solver options
- user_data.h: struct exposed to Python for model specification
Python¶
The directory dfba contains the following content:
- control.py: definition of class
dfba.ControlParameter - exchange.py: definition of class
dfba.ExchangeFlux - helpers.py: general helper functions
- jit.py: tools for JIT compilation of dynamic library
- model.py: definition of class
dfba.DfbaModel - library.py: methods for writing dynamic library
- variables.py: definition of class
dfba.KineticVariable - plot: directory for additional visualization dependency