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

Constrained Molecular Dynamics: two new functions molecule::ConstrainedPotential(), molecule::MinimiseConstrainedPotential()

Constrained Molecular Dynamics scaffold implemented (so far it does nothing):

  • config::DoConstrainedMD contains the target step (i.e. config::DoConstrainedMD = 2 will do a constraint motion from step 1 to step 2), 0 means no constrained motion, is parsed in config::load(), def

ault is 0

ajectory distance, equal target (last two are pure penalties). Implemented, not tested.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/builder.cpp

    rfdbf0c rc99adf  
    993993              SaveFlag = true;
    994994              cout << Verbose(1) << "Parsing forces file and Verlet integrating." << endl;
    995               if (!mol->VerletForceIntegration(argv[argptr], configuration.Deltat, configuration.GetIsAngstroem()))
     995              if (!mol->VerletForceIntegration((ofstream *)&cout, argv[argptr], configuration.Deltat, configuration.GetIsAngstroem(), configuration.DoConstrainedMD))
    996996                cout << Verbose(2) << "File not found." << endl;
    997997              else
Note: See TracChangeset for help on using the changeset viewer.