- Timestamp:
- Aug 3, 2009, 2:58:43 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:
- cd4ccc
- Parents:
- 357fba
- Location:
- src
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Makefile.am
r357fba ra80fbdf 1 1 SOURCE = atom.cpp bond.cpp boundary.cpp builder.cpp config.cpp element.cpp ellipsoid.cpp helpers.cpp linkedcell.cpp moleculelist.cpp molecules.cpp parser.cpp periodentafel.cpp tesselation.cpp tesselationhelpers.cpp vector.cpp verbose.cpp 2 HEADER = atom.hpp bond.hpp boundary.hpp defs.hpp ellipsoid.hpp helpers.hpp linkedcell.hpp molecules.hpp parser.hpp periodentafel.hpp stackclass.hpp tesselation.hpp tesselationhelpers.hpp vector.hpp2 HEADER = atom.hpp bond.hpp boundary.hpp config.hpp defs.hpp ellipsoid.hpp helpers.hpp linkedcell.hpp molecules.hpp parser.hpp periodentafel.hpp stackclass.hpp tesselation.hpp tesselationhelpers.hpp vector.hpp 3 3 4 4 bin_PROGRAMS = molecuilder joiner analyzer -
src/boundary.hpp
r357fba ra80fbdf 12 12 #include <deque> 13 13 14 #include "config.hpp" 14 15 #include "linkedcell.hpp" 15 16 #include "molecules.hpp" -
src/config.cpp
r357fba ra80fbdf 5 5 */ 6 6 7 #include " molecules.hpp"7 #include "config.hpp" 8 8 9 9 /******************************** Functions for class ConfigFileBuffer **********************/ -
src/moleculelist.cpp
r357fba ra80fbdf 5 5 */ 6 6 7 #include "config.hpp" 7 8 #include "molecules.hpp" 8 9 -
src/molecules.cpp
r357fba ra80fbdf 5 5 */ 6 6 7 #include "config.hpp" 7 8 #include "molecules.hpp" 8 9 -
src/molecules.hpp
r357fba ra80fbdf 35 35 #include "vector.hpp" 36 36 37 class config;38 37 class molecule; 39 38 class MoleculeLeafClass; … … 344 343 345 344 346 /** The config file.347 * The class contains all parameters that control a dft run also functions to load and save.348 */349 class config {350 public:351 int PsiType;352 int MaxPsiDouble;353 int PsiMaxNoUp;354 int PsiMaxNoDown;355 int MaxMinStopStep;356 int InitMaxMinStopStep;357 int ProcPEGamma;358 int ProcPEPsi;359 char *configpath;360 char *configname;361 bool FastParsing;362 double Deltat;363 string basis;364 365 char *databasepath;366 367 int DoConstrainedMD;368 int MaxOuterStep;369 int Thermostat;370 int *ThermostatImplemented;371 char **ThermostatNames;372 double TempFrequency;373 double alpha;374 double HooverMass;375 double TargetTemp;376 int ScaleTempStep;377 378 private:379 char *mainname;380 char *defaultpath;381 char *pseudopotpath;382 383 int DoOutVis;384 int DoOutMes;385 int DoOutNICS;386 int DoOutOrbitals;387 int DoOutCurrent;388 int DoFullCurrent;389 int DoPerturbation;390 int DoWannier;391 int CommonWannier;392 double SawtoothStart;393 int VectorPlane;394 double VectorCut;395 int UseAddGramSch;396 int Seed;397 398 int OutVisStep;399 int OutSrcStep;400 int MaxPsiStep;401 double EpsWannier;402 403 int MaxMinStep;404 double RelEpsTotalEnergy;405 double RelEpsKineticEnergy;406 int MaxMinGapStopStep;407 int MaxInitMinStep;408 double InitRelEpsTotalEnergy;409 double InitRelEpsKineticEnergy;410 int InitMaxMinGapStopStep;411 412 //double BoxLength[NDIM*NDIM];413 414 double ECut;415 int MaxLevel;416 int RiemannTensor;417 int LevRFactor;418 int RiemannLevel;419 int Lev0Factor;420 int RTActualUse;421 int AddPsis;422 423 double RCut;424 int StructOpt;425 int IsAngstroem;426 int RelativeCoord;427 int MaxTypes;428 429 430 int ParseForParameter(int verbose, ifstream *file, const char *name, int sequential, int const xth, int const yth, int type, void *value, int repetition, int critical);431 int ParseForParameter(int verbose, struct ConfigFileBuffer *FileBuffer, const char *name, int sequential, int const xth, int const yth, int type, void *value, int repetition, int critical);432 433 public:434 config();435 ~config();436 437 int TestSyntax(char *filename, periodentafel *periode, molecule *mol);438 void Load(char *filename, periodentafel *periode, molecule *mol);439 void LoadOld(char *filename, periodentafel *periode, molecule *mol);440 void RetrieveConfigPathAndName(string filename);441 bool Save(const char *filename, periodentafel *periode, molecule *mol) const;442 bool SaveMPQC(const char *filename, molecule *mol) const;443 void Edit();444 bool GetIsAngstroem() const;445 char *GetDefaultPath() const;446 void SetDefaultPath(const char *path);447 void InitThermostats(class ConfigFileBuffer *fb);448 };449 450 345 #endif /*MOLECULES_HPP_*/ 451 346
Note:
See TracChangeset
for help on using the changeset viewer.