There is a function in the functions.cpp file named - "sweptarea" and a correponding variable "sweptarea" in the main.cpp. I guess that is supposed to calculate area swept by each segment at the end of each iteration. It would be great if you can include this in the output file. With this output, we can then be able to plot stress-strain too.
In the sweptarea function, is it calculating the area for the straight segment or the dislocation arc?
There is a function in the functions.cpp file named - "sweptarea" and a correponding variable "sweptarea" in the main.cpp. I guess that is supposed to calculate area swept by each segment at the end of each iteration. It would be great if you can include this in the output file. With this output, we can then be able to plot stress-strain too.
In the sweptarea function, is it calculating the area for the straight segment or the dislocation arc?