Difference for src/colvarscript.C from version 1.8 to 1.9

version 1.8version 1.9
Line 222
Line 222
     }     }
   }   }
  
    if (cmd == "addenergy") {
      if (argc == 3) {
        colvars->total_bias_energy += strtod(argv[2], NULL);
        return COLVARS_OK;
      } else {
        result = "Wrong arguments to command \"addenergy\"\n" + help_string();
        return COLVARSCRIPT_ERROR;
      }
    }
  
   result = "Syntax error\n" + help_string();   result = "Syntax error\n" + help_string();
   return COLVARSCRIPT_ERROR;   return COLVARSCRIPT_ERROR;
 } }
Line 503
Line 513
             // TODO disable() function does not exist yet,             // TODO disable() function does not exist yet,
             // dependencies will not be resolved             // dependencies will not be resolved
             // obj->disable(fid);             // obj->disable(fid);
             obj->feature_states[fid]->enabled = false;             obj->set_enabled(fid, false);
             return COLVARS_OK;             return COLVARS_OK;
           }           }
         }         }
Line 536
Line 546
   load <file name>            -- load a state file (requires configuration)\n\   load <file name>            -- load a state file (requires configuration)\n\
   save <file name>            -- save a state file (requires configuration)\n\   save <file name>            -- save a state file (requires configuration)\n\
   update                      -- recalculate colvars and biases\n\   update                      -- recalculate colvars and biases\n\
    addenergy <E>               -- add <E> to the total bias energy\n\
   printframe                  -- return a summary of the current frame\n\   printframe                  -- return a summary of the current frame\n\
   printframelabels            -- return labels to annotate printframe's output\n";   printframelabels            -- return labels to annotate printframe's output\n";
  


Legend:
Removed in v.1.8 
changed lines
 Added in v.1.9



Made by using version 1.53 of cvs2html