Skip to main content

Code generation for cardiac Chaste

Reason this release was yanked:

big with unused variables appearing in common terms for jacobian

Project description

workflow Documentation Status codecov

Code generation for cardiac Chaste

The chaste_codegen module takes CellML models as input, via cellmlmanip to read and manipulate them, then uses templating to generate C++ code.

The jinja2 templating engine is used.

Installing

We recommend installing chaste_codegen in a virtual environment (using virtualenv or conda)

Users install chaste_codegen using pip.

pip install chaste_codegen

Using chaste_codegen

After installation, chaste_codegen can be called using the chaste_codegen command:

usage: chaste_codegen [-h] [--version] [--normal] [--cvode]
                      [--cvode-data-clamp] [--backward-euler] [--rush-larsen]
                      [--grl1] [--grl2] [--rush-larsen-labview]
                      [--rush-larsen-c] [-j] [-o OUTFILE]
                      [--output-dir OUTPUT_DIR] [--show-outputs] [-c CLS_NAME]
                      [-q] [--skip-ingularity-fixes] [-y] [--opt] [-m]
                      [--lookup-table <metadata tag> min max step]
                      [--use-model-factory]
                      cellml_file
chaste_codegen: error: the following arguments are required: cellml_file

For more information about the available options call chaste_codegen -h or see the CodeGenerationFromCellML guide

Release notes

For release notes see RELEASE.md

Documentation

API documentation explaining how to use cellmlmanip can be found on readthedocs

Contributing

For guidelines on contributing to chaste_codegen, please see CONTRIBUTING.md.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chaste_codegen-0.9.7.tar.gz (82.3 kB view details)

Uploaded Source

Built Distribution

chaste_codegen-0.9.7-py3-none-any.whl (117.2 kB view details)

Uploaded Python 3

File details

Details for the file chaste_codegen-0.9.7.tar.gz.

File metadata

  • Download URL: chaste_codegen-0.9.7.tar.gz
  • Upload date:
  • Size: 82.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.0

File hashes

Hashes for chaste_codegen-0.9.7.tar.gz
Algorithm Hash digest
SHA256 dce670b4779e3fa1df41f7198dac2f2b23835b0a7722d7ce5d33f705c0a2e159
MD5 34f7fb94cd2579038214692c03bf2384
BLAKE2b-256 4883c1ee140451ee5c4b7db813084d2c8bad0e37d697f77ebd22cca03d2dc911

See more details on using hashes here.

File details

Details for the file chaste_codegen-0.9.7-py3-none-any.whl.

File metadata

File hashes

Hashes for chaste_codegen-0.9.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7201f46c3db379a41260b3b13702df9202ae3bdcfd262f802d84ba6e15046b20
MD5 43920edb2f6e4045a4ccee0785212418
BLAKE2b-256 1207171cee54c98902895566d185a7b1ca7e4112070e0441737c642b3e5b8285

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page