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;
Static class for cluster formation.
Cluster coalescence algorithm used in the IAEA intercomparison.
ClusterAlgorithmType getClusterAlgorithm() const
Get the clustering algorithm.
Cluster * getCluster(Nucleus *n, Particle *p)
Call the clustering algorithm.
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.
void deleteClusteringModel()
Delete the clustering model.
IClusteringModel * getClusteringModel()
Get the clustering model.
void setClusteringModel(IClusteringModel *const model)
Set the clustering model.
@ IntercomparisonClusterAlgorithm