BioCMAMC-ST
|
A key feature of BioCMAMC is its flexible model definition capability. The framework is designed to work with any model that adheres to the required interface specifications.
As of version v0.7, models must be known at compile time. Dynamic model definition and loading at runtime are not supported. This limitation primarily arises from the challenge of ensuring code safety and compatibility, particularly when targeting GPU architectures. However, this constraint improves code readability, maintainability, and safety—allowing many potential bugs to be detected during compilation.
For a model to be recognized and executed by BioCMAMC, it must implement specific components:
Refer to the example Here for further details.
Each model must define the following subkernels, which are functions executed at different stages of the Monte Carlo particle simulation for each MCparticle:
These subkernels form the core computational steps of the model and must be explicitly defined for proper integration with the BioCMAMC framework.