To get started with the project, follow these steps:
Run the following command to install the necessary dependencies:
npm install
To start the development server, use:
npm run dev
-
src/engine/diffeq.js
This file contains all the code required to run the differential equations (diffeqJs). It also includes a mockup of the Pinia store parameters used for compiling the models. -
src/engine/model2.json
-
src/engine/model4.json
These files are Myokit-exported MMT files, converted to JSON strings for use with diffeqJs. -
src/App.vue
This is the main component that interacts withdiffeq.js
. It features buttons to execute the functions formodel2
andmodel4
, as well as the parameters necessary forsolve
these models.