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);
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
G4MoleculeIterator< G4MolecularConfiguration > G4ConfigurationIterator
void SetDiffusionCoefficient(G4double)
static int GetNumberOfSpecies()
static void FinalizeAll()
static std::map< G4String, G4MolecularConfiguration * > & GetUserIDTable()
static G4MolecularConfiguration * GetOrCreateMolecularConfiguration(const G4MoleculeDefinition *)
static G4MolecularConfiguration * GetMolecularConfiguration(const G4MoleculeDefinition *, const G4String &label)
static G4MolecularConfiguration * CreateMolecularConfiguration(const G4String &userIdentifier, const G4MoleculeDefinition *, bool &wasAlreadyCreated)
const G4String & GetName() const
static G4MoleculeTable * GetMoleculeTable()
G4MolecularConfiguration * GetConfiguration(const G4String &, bool mustExist=true)
G4MolecularConfiguration * CreateConfiguration(const G4String &userIdentifier, const G4MoleculeDefinition *molDef, const G4String &configurationLabel, const G4ElectronOccupancy &eOcc)
int GetNumberOfDefinedSpecies()
virtual ~G4MoleculeTable()
G4MoleculeDefinition * CreateMoleculeDefinition(const G4String &userIdentifier, double diffusion_coefficient)
G4MoleculeDefinition * GetMoleculeDefinition(const G4String &, bool mustExist=true)
void PrepareMolecularConfiguration()
void Insert(G4MoleculeDefinition *)
MoleculeDefTable fMoleculeDefTable
static G4MoleculeTable * Instance()
G4ConfigurationIterator GetConfigurationIterator()
static G4MoleculeTable * fpgMoleculeTable