- Timestamp:
- May 8, 2010, 8:34:05 PM (15 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
- Children:
- d893f79
- Parents:
- 4a75d9
- git-author:
- Frederik Heber <heber@…> (05/08/10 20:30:27)
- git-committer:
- Frederik Heber <heber@…> (05/08/10 20:34:05)
- Location:
- src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/TextWindow.cpp
r4a75d9 r8e1f7af 52 52 { 53 53 MoleculeListClass *molecules = World::getInstance().getMolecules(); 54 config *configuration = NULL;54 config *configuration = World::getInstance().getConfig(); 55 55 periodentafel *periode = World::getInstance().getPeriode(); 56 56 char *ConfigFileName = NULL; -
src/UIElements/UIFactory.hpp
r4a75d9 r8e1f7af 12 12 class Dialog; 13 13 class DialogDescription; 14 15 class MoleculeListClass;16 class config;17 class periodentafel;18 14 19 15 struct menuPopulaters; -
src/World.cpp
r4a75d9 r8e1f7af 9 9 10 10 #include "atom.hpp" 11 #include "config.hpp" 11 12 #include "molecule.hpp" 12 13 #include "periodentafel.hpp" … … 25 26 periodentafel *&World::getPeriode(){ 26 27 return periode; 28 } 29 30 config *&World::getConfig(){ 31 return configuration; 27 32 } 28 33 … … 267 272 World::World() : 268 273 periode(new periodentafel), 274 configuration(new config), 269 275 atoms(), 270 276 currAtomId(0), … … 292 298 delete molecules_deprecated; 293 299 delete periode; 300 delete configuration; 294 301 MoleculeSet::iterator molIter; 295 302 for(molIter=molecules.begin();molIter!=molecules.end();++molIter){ -
src/World.hpp
r4a75d9 r8e1f7af 30 30 31 31 // forward declarations 32 class config; 32 33 class periodentafel; 33 34 class MoleculeListClass; … … 75 76 76 77 /** 78 * returns the configuration for the world. 79 */ 80 config *&getConfig(); 81 82 /** 77 83 * returns the first atom that matches a given descriptor. 78 84 * Do not rely on ordering for descriptors that match more than one atom. … … 234 240 235 241 periodentafel *periode; 242 config *configuration; 236 243 static double *cell_size; 237 244 static char *defaultName; -
src/builder.cpp
r4a75d9 r8e1f7af 2560 2560 int main(int argc, char **argv) 2561 2561 { 2562 config *configuration = new config;2562 config *configuration = World::getInstance().getConfig(); 2563 2563 Vector x, y, z, n; 2564 2564 ifstream test; 2565 2565 ofstream output; 2566 2566 string line; 2567 char *ConfigFileName = NULL;2568 2567 2569 2568 cout << ESPACKVersion << endl;
Note:
See TracChangeset
for help on using the changeset viewer.