70 double diffusion_coefficient)
73 diffusion_coefficient);
86 definition = it->second;
92 description <<
"The molecule definition " << name
93 <<
" was NOT recorded in the table" <<
G4endl;
95 "MOLECULE_DEFINITION_NOT_CREATED",
110 if(species == 0 && mustExist)
114 description <<
"The configuration " << name
115 <<
" was not recorded in the table" <<
G4endl;
151 description <<
"The molecule definition " << name
152 <<
" was already recorded in the table" <<
G4endl;
153 G4Exception(
"G4MoleculeTable::CreateMoleculeDefinition",
176 bool alreadyCreated(
false);
194 bool alreadyCreated(
false);
212 double diffusion_coefficient)
214 bool alreadyCreated(
false);
223 if(diffusion_coefficient!=-1)
238 bool alreadyCreated(
false);
static G4MoleculeTable * Instance()
static int GetNumberOfSpecies()
std::ostringstream G4ExceptionDescription
MoleculeDefTable fMoleculeDefTable
G4MoleculeDefinition * GetMoleculeDefinition(const G4String &, bool mustExist=true)
static G4MolecularConfiguration * GetMolecularConfiguration(const G4MoleculeDefinition *, const G4String &label)
static G4MolecularConfiguration * GetOrCreateMolecularConfiguration(const G4MoleculeDefinition *)
G4MolecularConfiguration * CreateConfiguration(const G4String &userIdentifier, const G4MoleculeDefinition *molDef, const G4String &configurationLabel, const G4ElectronOccupancy &eOcc)
G4ConfigurationIterator GetConfigurationIterator()
static void FinalizeAll()
int GetNumberOfDefinedSpecies()
static std::map< G4String, G4MolecularConfiguration * > & GetUserIDTable()
G4MoleculeDefinition * CreateMoleculeDefinition(const G4String &userIdentifier, double diffusion_coefficient)
void Insert(G4MoleculeDefinition *)
void SetDiffusionCoefficient(G4double)
void PrepareMolecularConfiguration()
static G4MolecularConfiguration * CreateMolecularConfiguration(const G4String &userIdentifier, const G4MoleculeDefinition *, bool &wasAlreadyCreated)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4MoleculeIterator< G4MolecularConfiguration > G4ConfigurationIterator
virtual ~G4MoleculeTable()
G4MolecularConfiguration * GetConfiguration(const G4String &, bool mustExist=true)
static G4MoleculeTable * fpgMoleculeTable
const G4String & GetName() const
static G4MoleculeTable * GetMoleculeTable()