#include "colvarmodule.h"#include "colvarvalue.h"#include "colvarparse.h"#include "colvar.h"#include "colvarcomp.h"Go to the source code of this file.
Defines | |
| #define | initialize_forcepars(def_desc, def_config_key, def_class_name) |
Functions | |
| void | history_add_value (size_t const &history_length, std::list< colvarvalue > &history, colvarvalue const &new_value) |
| void | history_incr (std::list< std::list< colvarvalue > > &history, std::list< std::list< colvarvalue > >::iterator &history_p) |
|
|
Referenced by colvar::colvar(). |
|
||||||||||||||||
|
Definition at line 1159 of file colvar.C. Referenced by colvar::calc_acf(), and colvar::calc_runave(). 01162 {
01163 history.push_front (new_value);
01164 if (history.size() > history_length)
01165 history.pop_back();
01166 }
|
|
||||||||||||
|
Definition at line 1168 of file colvar.C. Referenced by colvar::calc_acf(). 01170 {
01171 if ((++history_p) == history.end())
01172 history_p = history.begin();
01173 }
|
1.3.9.1