Change in Energy as Ouput


117
views
0
4 months ago by
James  
Hi all,
I am wondering if it is possible to access the change in energy calculation output in python so it can be plotted it later on or even analyzed.
I know that the energy change appears in the cmd output per MCS, but I would like to save it as an output for analysis.
Is this possible and if so, how?
Thank you!
Community: CompuCell3D

2 Answers


2
4 months ago by
You can access the current energy with;
self.potts.getEnergy()

To get the delta energy you'll need to save the energy from step to step.
0
4 months ago by
James  
Thanks for the help!
Please login to add an answer/comment or follow this question.

Similar posts:
Search »