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 deleteClusteringModel()
Delete the clustering model.
G4bool clusterCanEscape(Nucleus const *const n, Cluster const *const c)
Determine whether the cluster can escape or not.
Cluster coalescence algorithm used in the IAEA intercomparison.
Static class for cluster formation.
Cluster * getCluster(Nucleus *n, Particle *p)
Call the clustering algorithm.
ClusterAlgorithmType getClusterAlgorithm() const
Get the clustering algorithm.
void initialize(Config const *const theConfig)
Initialize the clustering model based on the Config object.
IClusteringModel * getClusteringModel()
Get the clustering model.
const XML_Char XML_Content * model
void setClusteringModel(IClusteringModel *const model)
Set the clustering model.