#include <colvarbias.h>
Inheritance diagram for colvarbias_ti:
Definition at line 271 of file colvarbias.h.
Definition at line 680 of file colvarbias.C.
References colvardeps::f_cvb_calc_ti_samples, colvardeps::f_cvb_step_zero_data, colvardeps::feature_states, colvarmodule::main, NULL, colvardeps::provide, colvarmodule::proxy, ti_avg_forces, ti_count, and colvarproxy_system::total_forces_same_step.
[virtual]
[virtual]
\brief Delete only the allocatable data (save memory).
Reimplemented from colvarbias.
Reimplemented in colvarbias_meta.
Definition at line 700 of file colvarbias.C.
References NULL, ti_avg_forces, and ti_count.
Referenced by ~colvarbias_ti.
[virtual]
Write the values of specific mutable properties to a string.
Reimplemented from colvarbias.
Reimplemented in colvarbias_meta.
Definition at line 846 of file colvarbias.C.
References string.
[virtual]
\brief Parse config string and (re)initialize.
Reimplemented from colvarbias.
Reimplemented in colvarbias_meta.
Definition at line 714 of file colvarbias.C.
References colvarmodule::cite_feature, COLVARS_INPUT_ERROR, COLVARS_NOT_IMPLEMENTED, conf, colvardeps::enable, colvarmodule::error, colvardeps::f_cv_subtract_applied_force, colvardeps::f_cvb_calc_ti_samples, colvardeps::f_cvb_write_ti_pmf, colvardeps::f_cvb_write_ti_samples, colvardeps::get_keyval_feature, init_grids, colvardeps::is_enabled, colvarmodule::main, colvarbias::name, colvarbias::num_variables, colvarmodule::time_dependent_biases, and colvarbias::variables.
Referenced by colvarbias_restraint::init, and colvarbias_meta::init.
[virtual]
Definition at line 765 of file colvarbias.C.
References colvarbias::colvars, colvardeps::f_cvb_calc_ti_samples, colvar_grid< size_t >::has_parent_data, colvardeps::is_enabled, NULL, colvarbias::num_variables, colvar_grid_gradient::samples, ti_avg_forces, ti_bin, ti_count, ti_system_forces, and colvarbias::variables.
Referenced by init.
[virtual]
Read all mutable data not already set by set_state_params().
Reimplemented from colvarbias.
Reimplemented in colvarbias_meta.
Definition at line 871 of file colvarbias.C.
References colvarmodule::debug, colvardeps::f_cvb_calc_ti_samples, colvardeps::is_enabled, colvarmodule::log, colvar_grid< cvm::real >::read_raw, colvar_grid< size_t >::read_raw, colvarbias::read_state_data_key, ti_avg_forces, and ti_count.
Referenced by colvarbias_restraint_linear::read_state_data, colvarbias_restraint_harmonic_walls::read_state_data, colvarbias_restraint_harmonic::read_state_data, and colvarbias_meta::read_state_data.
[virtual]
Read the values of specific mutable properties from a string.
Reimplemented from colvarbias.
Reimplemented in colvarbias_meta.
Definition at line 852 of file colvarbias.C.
[virtual]
Retrieve colvar values and calculate their biasing forces Some implementations may use calc_energy() and calc_forces().
Reimplemented from colvarbias.
Reimplemented in colvarbias_meta.
Definition at line 787 of file colvarbias.C.
References NULL, and update_system_forces.
Referenced by colvarbias_restraint_linear::update, colvarbias_restraint_harmonic_walls::update, colvarbias_restraint_harmonic::update, and colvarbias_meta::update.
[virtual]
Subtract applied forces (either last forces or argument) from the total forces.
Definition at line 793 of file colvarbias.C.
References colvar_grid_gradient::acc_value, colvar_grid< cvm::real >::current_bin_scalar, colvarmodule::debug, colvardeps::f_cv_subtract_applied_force, colvardeps::f_cvb_calc_ti_samples, colvardeps::f_cvb_step_zero_data, colvarbias::has_data, colvar_grid< cvm::real >::index_ok, colvardeps::is_enabled, colvarmodule::log, colvarmodule::main, NULL, colvarbias::num_variables, colvarbias::previous_colvar_forces, colvarmodule::proxy, colvarmodule::step_relative, ti_avg_forces, ti_bin, ti_system_forces, colvarproxy_system::total_forces_same_step, and colvarbias::variables.
Referenced by update.
[virtual]
Write any output files that this bias may have (e.g. PMF files).
Reimplemented from colvarbias.
Reimplemented in colvarbias_meta.
Definition at line 898 of file colvarbias.C.
References COLVARS_FILE_ERROR, colvardeps::f_cvb_write_ti_pmf, colvardeps::f_cvb_write_ti_samples, colvarbias::has_data, colvardeps::is_enabled, colvarmodule::log, colvar_grid< cvm::real >::multiply_constant, colvarbias::name, colvarmodule::output_prefix, ti_avg_forces, ti_count, colvar_grid_gradient::write_1D_integral, colvar_grid_gradient::write_multicol, and colvar_grid_count::write_multicol.
Referenced by colvarbias_meta::write_output_files.
[virtual]
Write all mutable data not already written by get_state_params().
Reimplemented from colvarbias.
Reimplemented in colvarbias_meta.
Definition at line 858 of file colvarbias.C.
References colvardeps::f_cvb_calc_ti_samples, colvardeps::is_enabled, ti_avg_forces, ti_count, colvar_grid< cvm::real >::write_raw, and colvar_grid< size_t >::write_raw.
Referenced by colvarbias_restraint_linear::write_state_data, colvarbias_restraint_harmonic_walls::write_state_data, colvarbias_restraint_harmonic::write_state_data, and colvarbias_meta::write_state_data.
[protected]
Averaged system forces.
Definition at line 300 of file colvarbias.h.
Referenced by clear_state_data, colvarbias_ti, init_grids, read_state_data, update_system_forces, write_output_files, and write_state_data.
[protected]
Because total forces may be from the last simulation step, store the index of the variables then.
Definition at line 307 of file colvarbias.h.
Referenced by init_grids, and update_system_forces.
[protected]
Histogram of sampled data.
Definition at line 303 of file colvarbias.h.
Referenced by clear_state_data, colvarbias_ti, init_grids, read_state_data, write_output_files, and write_state_data.
[protected]
\brief Forces exerted from the system to the associated variables.
Definition at line 297 of file colvarbias.h.
Referenced by init_grids, and update_system_forces.