Changeset 995ff3 for pcp/src


Ignore:
Timestamp:
Apr 18, 2008, 1:31:02 PM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
094b41
Parents:
f915e1
Message:

declaration of Thermostats() and various variables needed in Run structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pcp/src/run.h

    rf915e1 r995ff3  
    5555 
    5656  int DoBrent;                    //!< whether line search shall be approximative (0) or numerically exact by a brent algorithm (1) per wave function
    57   int UseForcesFile;                            //!< 1 - do not calculate electronic forces but parse values from file, 0 - calculate force by solving ground state problem
     57        int UseForcesFile;                                                      //!< 1 - do not calculate electronic forces but parse values from file, 0 - calculate force by solving ground state problem
    5858  int UseOldPsi;                  //!< 1 - old Psis are used, 0 - not
    59   int UseAddGramSch;                            //!< whether additional Gram-Schmidt-Orthogonalization is used
     59  int UseAddGramSch;                                                    //!< whether additional Gram-Schmidt-Orthogonalization is used
    6060  int DoCalcCGGauss;              //!< whether to calculate the gaussian part in the second derivative of the hartree exchange potential or not
    6161  int DoUnOccupied;               //!< whether unoccupied states shall be minimised in a separate run per level or not
     
    8484
    8585  int MaxOuterStep;                                                             //!< maximum number of MolecularDynamics steps
     86  int MaxStructOptStep;               //!< maximum number of structure optimization steps
    8687  int NewRStep;                   //!< holds count of how often the ions were moved (position R has changed)
    8788  int MaxMinStepFactor;           //!< Additional factor for setting RunStruct::ActualMaxMinStep, see InitRun()
     
    110111  int OutVisStep;                                                                               //!< Output data for OpenDX every ..th step
    111112  int OutSrcStep;                                                                               //!< Output data for measurements every ..th step
    112   int OuterStep;                    //!< Current MD/CG/Simplex step in structure optimization
     113  int OuterStep;                    //!< Current MD step
     114  int StructOptStep;                //!< Current step in structure optimization
    113115  double TargetTemp;                                                            //!< Target temperature
    114116  int ScaleTempStep;                                                            //!< MD temperature is scaled every ..step
     117  double HooverMass;                //!< Hoover Mass for Nose-Hoover Thermostat in atom mass units (not atom_ic_ units), \sa Thermostat()
     118  double TempFrequency;             //!< collision frequency for Langevin/Stochastic Thermostat/\f$\tau_T\f$ for Berendsen Thermostat, \sa Thermostat()
     119  double alpha;                     //!< interpolation coefficent for Langevin/Stochastic Thermostat, \sa Thermostat()
    115120  double EpsWannier;                //!< tolerance value for spread minimisation of orbitals, \sa ComputeMLWF()
     121 
     122  double BField[NDIM];
    116123 
    117124  char **MinimisationName;
     
    133140void SetCurrentMinState(struct Problem *P, enum PsiTypeTag state);
    134141int CalculateMinimumStop(struct Problem *P, int SuperStop);
     142void Thermostats(struct Problem *P, enum thermostats i);
    135143#endif
Note: See TracChangeset for help on using the changeset viewer.