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