mdpiper / pymt_heatc

PyMT component for the C BMI example

Home Page:https://bmi.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

PyMT component for the C BMI example

https://bmi.readthedocs.io

License:MIT License


Languages

Language:Cython 75.5%Language:Makefile 14.0%Language:Meson 8.7%Language:Python 1.8%