Changeset e78824 for molecuilder/src
- Timestamp:
- Aug 3, 2009, 2:58:43 PM (16 years ago)
- Children:
- 4dca8e
- Parents:
- 834ff3
- Location:
- molecuilder/src
- Files:
-
- 1 added
- 6 edited
-
Makefile.am (modified) (1 diff)
-
boundary.hpp (modified) (1 diff)
-
config.cpp (modified) (1 diff)
-
config.hpp (added)
-
moleculelist.cpp (modified) (1 diff)
-
molecules.cpp (modified) (1 diff)
-
molecules.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/Makefile.am
r834ff3 re78824 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 -
molecuilder/src/boundary.hpp
r834ff3 re78824 12 12 #include <deque> 13 13 14 #include "config.hpp" 14 15 #include "linkedcell.hpp" 15 16 #include "molecules.hpp" -
molecuilder/src/config.cpp
r834ff3 re78824 5 5 */ 6 6 7 #include " molecules.hpp"7 #include "config.hpp" 8 8 9 9 /******************************** Functions for class ConfigFileBuffer **********************/ -
molecuilder/src/moleculelist.cpp
r834ff3 re78824 5 5 */ 6 6 7 #include "config.hpp" 7 8 #include "molecules.hpp" 8 9 -
molecuilder/src/molecules.cpp
r834ff3 re78824 5 5 */ 6 6 7 #include "config.hpp" 7 8 #include "molecules.hpp" 8 9 -
molecuilder/src/molecules.hpp
r834ff3 re78824 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.
