The same "diagram" can be modeled in different ways. So, what is the consequence of the type of model we pick? The new python plugin called tryAllModules.py plots the simulation of all the combinations of submodels and then clusters the results, showing a picture of how the system can behave depending the modeling methods used.
The key functions used by the python code are:
tc_listOfPossibleModels
tc_substituteModel
tc_holdPlot
tc_clusterPlots
Important note: The load model function in TinkerCell caches each model that is loaded. The caching checks if the file has changed. In file has not changed, the re-loading of the same model is very fast, since it does not need to parse the file itself. This results in an order or magnitude speed up when doing tc_substituteModel repeatedly.
No comments:
Post a Comment