/pymt_heatc

PyMT component for the C BMI example

Primary LanguageCythonMIT LicenseMIT

pymt_heatc

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.

Build/Install

This is a sketch of how to build and install this project.

  1. Create the conda environment from environment.yml and activate it.
  2. Build/install the C BMI example
  3. Build/install this project with make install

Use

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.