34 #define INCLXX_IN_GEANT4_MODE 1
52 namespace Clustering {
59 #if !defined(NDEBUG) && !defined(INCLXX_IN_GEANT4_MODE)
60 Cluster *
const c=theClusteringModel->getCluster(n,p);
64 return theClusteringModel->getCluster(n,p);
69 return theClusteringModel->clusterCanEscape(n, c);
75 theClusteringModel =
model;
79 delete theClusteringModel;
80 theClusteringModel = NULL;
void setClusteringModel(IClusteringModel *const model)
Set the clustering model.
G4bool clusterCanEscape(Nucleus const *const n, Cluster const *const c)
Determine whether the cluster can escape or not.
void initialize(Config const *const theConfig)
Initialize the clustering model based on the Config object.
Cluster * getCluster(Nucleus *n, Particle *p)
Call the clustering algorithm.
ClusterAlgorithmType getClusterAlgorithm() const
Get the clustering algorithm.
Static class for cluster formation.
void deleteClusteringModel()
Delete the clustering model.
IClusteringModel * getClusteringModel()
Get the clustering model.
Cluster coalescence algorithm used in the IAEA intercomparison.
const XML_Char XML_Content * model