#include "colvarmodule.h"#include "colvarvalue.h"#include "colvarparse.h"#include "colvar.h"#include "colvarcomp.h"#include <algorithm>Go to the source code of this file.
Defines | |
| #define | initialize_components(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 1334 of file colvar.C. Referenced by colvar::calc_acf(), and colvar::calc_runave(). 01337 {
01338 history.push_front (new_value);
01339 if (history.size() > history_length)
01340 history.pop_back();
01341 }
|
|
||||||||||||
|
Definition at line 1343 of file colvar.C. Referenced by colvar::calc_acf(). 01345 {
01346 if ((++history_p) == history.end())
01347 history_p = history.begin();
01348 }
|
1.3.9.1