Skip to content

pedrororo/MonoAlg3D_C

 
 

Repository files navigation

MonoAlg3D badge

The MonoAlg3D is a program for solving the 3D monodomain equation by applying the Finite Volume Method.

Pre-Requisites

  • Linux-based operating system
  • Nvidia Driver
  • CUDA library

Setting the enviroment

Ubuntu: Refer to the ubuntu guide

Fedora: Refer to the fedora guide

Compile

$ ./build.sh

The binary files will be saved in the bin folder.

Running examples


$ bin/MonoAlg3D -c example_configs/cuboid_ohara.ini 

The output will be saved in the VTK format. In order to see the results you can use Paraview (https://www.paraview.org/) or the compiled visualization tool in bin/MonoAlg3D_visualizer. You can also set the output to plain text, by changing the option vtk_output to false in the configuration file. The text format is defined as following:

  • Each line represents a Volume
  • Each volume is represented by its center point (X, Y, and Z), the value of half of its side length and the calculated V

Example file:

850,850,950,50,-85
850,950,950,50,-85
850,950,850,50,-85

This file represents 3 volumes with 100 micrometer of side. The first volume is centered at at 850,850,950 and the calculated V is -85 mV.

How to cite:


Oliveira RS, Rocha BM, Burgarelli D, Meira Jr W, Constantinides C, dos Santos RW. Performance evaluation of GPU parallelization, space‐time adaptive algorithms, and their combination for simulating cardiac electrophysiology. Int J Numer Meth Biomed Engng. 2018;34:e2913. https://doi.org/10.1002/cnm.2913

Credits


"Icon made by Pixel perfect from www.flaticon.com"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 88.3%
  • Cuda 5.8%
  • C++ 2.5%
  • Shell 1.5%
  • Python 0.9%
  • Makefile 0.6%
  • Other 0.4%