This is an example of building a model,
written in C and wrapped in Python with the babelizer,
with the meson-python build system
using a pyproject.toml
file to describe the build.
This is a sketch of how to build and install this project.
- Create the conda environment from environment.yml and activate it.
- Build/install the C BMI example
- Build/install this project with
make install
Import the standalone project into a Python session:
>>> import pymt_heatc
Import the pymt component:
>>> from pymt.MODELS import HeatModelC
Try the examples in the examples directory.