This software was developerd by: Hector Augusto Velasco-Perez @CHAOS Lab@Georgia Institute of Technology
- Dr. @Flavio Fenton
- Dr. @Claire Yanyan Ji
- Dr. @Abouzar Kaboudian
- Dr. @Shahriar Iravanian
This software allows you to solve the Fenton-Karma (FK) model with a diffusive coupling in a 3D domain with a constant rotating conducting anisotropy. The software allows for input/output files and real time graphics for user interactivity. This software is implemented in C/CUDA.
- Time integration: first order explicit Euler method
- Spacial coupling: fourth order Laplacian with finite differences
- Filament tracking: pixel and subpixel resolution
- Zero-flux boundary conditions and optional periodic boundary conditions at the top and bottom of the domain
- Switch between anisotropic and isotropic tissue. The anisotropy is a constant rotating anisotropy
- Switch between single and double precision
- CUDA v7 or higher
- glew.h, glut.h, freeglut.h
- SOIL.h library (sudo apt-get install libsoil-dev)
- To run the eprogram, open a Linux terminal and type
make globalVariables.cuh:nx,ny,nz: Grid sizeITPERFRAMEis the number of iterations it computes in the background without rendering an image.Uthis the filament voltage treshold.NNis the size of the array in floats (doubles) to save the tip filament trajectory.DOUBLE_PRECISION: switch between double and single presicion (comment/uncomment).ANISOTROPIC_TISSUE: switch between isotropic and anisotropic fibers (comment/uncomment).LOAD_DATA: switch from loading an external file or initializing the simulation with a precoded initial condition (comment/uncomment).SAVE_DATA: switch between saving data or not saving data (comment/uncomment).SPIRAL_TIP_INTERPOLATION: Switch between subpixel resolution interpolating algorithm or pixel resolution algorithm for filament tracing (comment/uncomment).- Model parameters. Remember to modify the parameters for the floating point type selected.
main3V-FK.cu:strAdress: memory adress where the output data will be saved.- The structure
paramcontains most of the physical parameters. To see which parameters it contains seetypedef3V-FK.h. pwdAdresscontains the input-memory adress (ifLOAD_DATAin not commented).keyboardfunction: keyboard shortcuts. All names are self explanetory.exitProgramfunction: comment/uncomment the functions inside the#ifdef SAVE_DATA.
