Ignore:
Timestamp:
Sep 11, 2008, 1:28:25 PM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
9070650
Parents:
909610
git-author:
Frederik Heber <heber@…> (09/09/08 15:29:58)
git-committer:
Frederik Heber <heber@…> (09/11/08 13:28:25)
Message:

Implemented molecule::LinearInterpolationBetweenConfiguration().

command line option "-L" with start and end step performs a linear interpolation between two atomic configurations. So far the mapping from initial atom labels to final labels is not yet finished, it is injective, but not yet minimal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/molecules.hpp

    r909610 r63b5c31  
    262262        bool VerletForceIntegration(ofstream *out, char *file, double delta_t, bool IsAngstroem, int DoConstrained);
    263263        double ConstrainedPotential(ofstream *out, atom **permutation, int start, int end, double *constants, bool IsAngstroem);
    264         double MinimiseConstrainedPotential(ofstream *out, ForceMatrix *Force, int startstep, int endstep, bool IsAngstroem);
     264        double MinimiseConstrainedPotential(ofstream *out, atom **&permutation, int startstep, int endstep, bool IsAngstroem);
     265        void EvaluateConstrainedForces(ofstream *out, int startstep, int endstep, atom **PermutationMap, ForceMatrix *Force);
     266        bool LinearInterpolationBetweenConfiguration(ofstream *out, int startstep, int endstep, const char *prefix, config &configuration);
    265267       
    266268  bool CheckBounds(const Vector *x) const;
     
    340342  bool AddHydrogenCorrection(ofstream *out, char *path);
    341343  bool StoreForcesFile(ofstream *out, char *path, int *SortIndex);
    342   bool OutputConfigForListOfFragments(ofstream *out, config *configuration, int *SortIndex);
     344  bool OutputConfigForListOfFragments(ofstream *out, const char *fragmentprefix, config *configuration, int *SortIndex, bool DoPeriodic, bool DoCentering);
    343345  void Output(ofstream *out);
    344346 
     
    389391    double Deltat;
    390392    int DoConstrainedMD;
     393    int MaxOuterStep;
    391394   
    392395    private:
     
    410413    int Seed;
    411414   
    412     int MaxOuterStep;
    413415    int OutVisStep;
    414416    int OutSrcStep;
Note: See TracChangeset for help on using the changeset viewer.