Skip to main content
. 2021 Jan 14;11:1423. doi: 10.1038/s41598-020-79858-y

Table 2.

Source files description.

Source file Description
main.cpp Main simulation process is implemented in this file
electrics_calc.h, electrics_calc.cpp All electric variables (Φ, E, σ, j, i, Q) are calculated in these files
temp_calc.h, temp_calc.cpp Temperature transient solution is solved in these files
par.h Biological, physical and numerical parameters are declared and/or initialized in this file
mesh.h, mesh.cpp Mesh class keeps information about geometry and domain discretization. Instances of this class are used in the ScalarField class and VectorField class
scalar_field.h, scalar_field.cpp ScalarField class is defined in these files. Instances of this class are used in main.cpp, electrics_calc.h, temp_calc.h for depicting Φ, |E|, |j| and σ
vector_field.h, vector_field.cpp VectorField class is defined in these files. Instances of this class are used in main.cpp, electrics_calc.h and temp_calc.h for depicting E and j
save.h, save.cpp Saving of the different scalar and vector fields as well as the log, are implemented in these files