#include <colvarproxy.h>
Inheritance diagram for colvarproxy_atom_groups:
List of all members.
Definition at line 299 of file colvarproxy.h.
Constructor.
Definition at line 167 of file colvarproxy.C.
References atom_groups_max_applied_force_, and atom_groups_rms_applied_force_.
[virtual]
[protected]
Used by all init_atom_group() functions: create a slot for an atom group not requested yet.
Definition at line 192 of file colvarproxy.C.
References atom_groups_charges, atom_groups_coms, atom_groups_ids, atom_groups_masses, atom_groups_new_colvar_forces, atom_groups_refcount, and atom_groups_total_forces.
[inline]
Request that this force is applied to the given atom group.
Definition at line 352 of file colvarproxy.h.
References atom_groups_new_colvar_forces.
[virtual]
\brief Used by the atom_group class destructor.
Definition at line 220 of file colvarproxy.C.
References atom_groups_ids, atom_groups_refcount, COLVARS_INPUT_ERROR, and colvarmodule::error.
Compute the maximum norm among all applied forces.
Definition at line 250 of file colvarproxy.C.
References atom_groups_max_applied_force_.
Referenced by colvarproxy::end_of_step.
Compute the root-mean-square of the applied forces.
Definition at line 243 of file colvarproxy.C.
References atom_groups_rms_applied_force_.
Referenced by colvarproxy::end_of_step.
[inline]
Get the charge of the given atom group.
Definition at line 334 of file colvarproxy.h.
References atom_groups_charges.
[inline]
Read the current position of the center of mass given atom group.
Definition at line 340 of file colvarproxy.h.
References atom_groups_coms.
[inline]
Get the numeric ID of the given atom group (for the MD program).
Definition at line 322 of file colvarproxy.h.
References atom_groups_ids.
[inline]
[inline]
Get the mass of the given atom group.
Definition at line 328 of file colvarproxy.h.
References atom_groups_masses.
[inline]
Read the current total force of the given atom group.
Definition at line 346 of file colvarproxy.h.
References atom_groups_total_forces.
[inline]
Read the current velocity of the given atom group.
Definition at line 358 of file colvarproxy.h.
References COLVARS_NOT_IMPLEMENTED, and colvarmodule::error.
Return number of atom groups with positive reference count.
Definition at line 233 of file colvarproxy.C.
References atom_groups_refcount, and result.
[virtual]
Prepare this group for collective variables calculation, selecting atoms by internal ids (0-based).
Definition at line 211 of file colvarproxy.C.
References COLVARS_NOT_IMPLEMENTED, and colvarmodule::error.
[inline]
Get the maximum norm among all applied forces.
Definition at line 413 of file colvarproxy.h.
References atom_groups_max_applied_force_.
[inline]
[inline]
[inline]
[inline]
[inline]
Clear atom group data.
Reimplemented in colvarproxy.
Definition at line 179 of file colvarproxy.C.
References atom_groups_charges, atom_groups_coms, atom_groups_ids, atom_groups_masses, atom_groups_new_colvar_forces, atom_groups_refcount, and atom_groups_total_forces.
Referenced by colvarproxy::reset, and ~colvarproxy_atom_groups.
[inline]
Get the root-mean-square of the applied forces.
Definition at line 407 of file colvarproxy.h.
References atom_groups_rms_applied_force_.
[virtual]
\brief Whether this proxy implementation has capability for scalable groups.
Definition at line 205 of file colvarproxy.C.
References COLVARS_NOT_IMPLEMENTED.
[protected]
\brief Total charges of the atom groups (allow redefinition during a run, as done e.g. in LAMMPS).
Definition at line 428 of file colvarproxy.h.
Referenced by add_atom_group_slot, get_atom_group_charge, modify_atom_group_charges, colvarproxy::print_input_atomic_data, and reset.
[protected]
\brief Current centers of mass of the atom groups.
Definition at line 430 of file colvarproxy.h.
Referenced by add_atom_group_slot, get_atom_group_com, modify_atom_group_positions, colvarproxy::print_input_atomic_data, and reset.
[protected]
\brief Array of 0-based integers used to uniquely associate atom groups within the host program.
Definition at line 422 of file colvarproxy.h.
Referenced by add_atom_group_slot, clear_atom_group, get_atom_group_id, get_atom_group_ids, colvarproxy::print_input_atomic_data, and reset.
[protected]
\brief Total masses of the atom groups.
Definition at line 426 of file colvarproxy.h.
Referenced by add_atom_group_slot, get_atom_group_mass, modify_atom_group_masses, colvarproxy::print_input_atomic_data, and reset.
[protected]
Maximum norm among all applied group forces.
Definition at line 440 of file colvarproxy.h.
Referenced by colvarproxy_atom_groups, compute_max_atom_groups_applied_force, and max_atom_groups_applied_force.
[protected]
\brief Forces applied from colvars, to be communicated to the MD integrator.
Definition at line 434 of file colvarproxy.h.
Referenced by add_atom_group_slot, apply_atom_group_force, modify_atom_group_applied_forces, colvarproxy::print_output_atomic_data, and reset.
[protected]
\brief Keep track of how many times each group is used by a separate cvc.
Definition at line 424 of file colvarproxy.h.
Referenced by add_atom_group_slot, clear_atom_group, get_num_active_atom_groups, colvarproxy::print_input_atomic_data, and reset.
[protected]
Root-mean-square of the applied group forces.
Definition at line 437 of file colvarproxy.h.
Referenced by colvarproxy_atom_groups, compute_rms_atom_groups_applied_force, and rms_atom_groups_applied_force.
[protected]
\brief Most recently updated total forces on the com of each group.
Definition at line 432 of file colvarproxy.h.
Referenced by add_atom_group_slot, get_atom_group_total_force, modify_atom_group_total_forces, colvarproxy::print_input_atomic_data, and reset.