Difference for src/colvardeps.h from version 1.1 to 1.2

version 1.1version 1.2
Line 1
Line 1
 // -*- c++ -*- // -*- c++ -*-
  
  // This file is part of the Collective Variables module (Colvars).
  // The original version of Colvars and its updates are located at:
  // https://github.com/colvars/colvars
  // Please update all Colvars source files before making any changes.
  // If you wish to distribute your changes, please submit them to the
  // Colvars repository at GitHub.
  
 #ifndef COLVARDEPS_H #ifndef COLVARDEPS_H
 #define COLVARDEPS_H #define COLVARDEPS_H
  
Line 134
Line 141
  
   void provide(int feature_id); // set the feature's flag to available in local object   void provide(int feature_id); // set the feature's flag to available in local object
  
  protected:
  
    void set_available(int feature_id, bool truefalse); // set the feature's available flag, without checking 
    void set_enabled(int feature_id, bool truefalse); // set the feature's enabled flag, without checking 
  
   /// Parse a keyword and enable a feature accordingly   /// Parse a keyword and enable a feature accordingly
   bool get_keyval_feature(colvarparse *cvp,   bool get_keyval_feature(colvarparse *cvp,
                           std::string const &conf, char const *key,                           std::string const &conf, char const *key,
                           int feature_id, bool const &def_value,                           int feature_id, bool const &def_value,
                           colvarparse::Parse_Mode const parse_mode = colvarparse::parse_normal);                           colvarparse::Parse_Mode const parse_mode = colvarparse::parse_normal);
  
  public:
  
   int enable(int f, bool dry_run = false, bool toplevel = true);  // enable a feature and recursively solve its dependencies   int enable(int f, bool dry_run = false, bool toplevel = true);  // enable a feature and recursively solve its dependencies
   // dry_run is set to true to recursively test if a feature is available, without enabling it   // dry_run is set to true to recursively test if a feature is available, without enabling it
 //     int disable(int f); //     int disable(int f);
Line 157
Line 171
     f_cvb_apply_force, // will apply forces     f_cvb_apply_force, // will apply forces
     f_cvb_get_total_force, // requires total forces     f_cvb_get_total_force, // requires total forces
     f_cvb_history_dependent, // depends on simulation history     f_cvb_history_dependent, // depends on simulation history
      f_cvb_scalar_variables, // requires scalar colvars
      f_cvb_calc_pmf, // whether this bias will compute a PMF
     f_cvb_ntot     f_cvb_ntot
   };   };
  
Line 208
Line 224
     /// be used by the biases or in analysis (needs lower and upper     /// be used by the biases or in analysis (needs lower and upper
     /// boundary)     /// boundary)
     f_cv_grid,     f_cv_grid,
     /// \brief Apply a restraining potential (|x-xb|^2) to the colvar 
     /// when it goes below the lower wall 
     f_cv_lower_wall, 
     /// \brief Apply a restraining potential (|x-xb|^2) to the colvar 
     /// when it goes above the upper wall 
     f_cv_upper_wall, 
     /// \brief Compute running average     /// \brief Compute running average
     f_cv_runave,     f_cv_runave,
     /// \brief Compute time correlation function     /// \brief Compute time correlation function


Legend:
Removed in v.1.1 
changed lines
 Added in v.1.2



Made by using version 1.53 of cvs2html