#include <colvarvalue.h>
Definition at line 41 of file colvarvalue.h.
\brief Possible types of value These three cover most possibilities of data type one can devise. If you need to implement a new colvar with a very complex data type, it's better to put an allocatable class here.
Definition at line 50 of file colvarvalue.h.
Referenced by check_types_assign, colvarvalue, colvar::init, and type.
\brief Default constructor: this class defaults to a scalar number and always behaves like it unless you change its type.
Definition at line 19 of file colvarvalue.C.
Referenced by dist2_grad, get_elem, and interpolate.
Constructor from a type specification.
Definition at line 24 of file colvarvalue.C.
References reset.
\brief Copy constructor from rvector base type (Note: this sets by default a type type_3vector , if you want a type_unit3vector you must set it explicitly).
Definition at line 35 of file colvarvalue.C.
References Type.
\brief Copy constructor from quaternion base type.
Definition at line 40 of file colvarvalue.C.
References Type.
Copy constructor from vector1d base type.
Definition at line 73 of file colvarvalue.C.
References colvarmodule::error, num_dimensions, quaternion_value, real_value, rvector_value, Type, type_3vector, type_desc, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, value_type, and vector1d_value.
Copy constructor from another colvarvalue.
Definition at line 45 of file colvarvalue.C.
References elem_indices, elem_sizes, elem_types, quaternion_value, real_value, rvector_value, type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, and vector1d_value.
Add an element to the vector (requires that type_vector is already set). This is only needed to use this object as a vector of "complex" colvar values. To use it instead as a plain n-dimensional vector, access vector1d_value directly.
Definition at line 315 of file colvarvalue.C.
References elem_indices, elem_sizes, elem_types, colvarmodule::error, n, num_dimensions, set_elem, type_vector, value_type, and vector1d_value.
\brief If the variable has constraints (e.g. unitvector or quaternion), transform it to satisfy them; this function needs to be called only when the colvarvalue is calculated outside of colvar::cvc objects.
Definition at line 227 of file colvarvalue.C.
References elem_indices, elem_sizes, elem_types, quaternion_value, rvector_value, set_elem, colvarmodule::sqrt, type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, and vector1d_value.
Referenced by colvar::calc_runave, interpolate, operator>>, and colvar::update_extended_Lagrangian.
[inline]
Definition at line 627 of file colvarvalue.h.
References quaternion_value, real_value, rvector_value, type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, and vector1d_value.
Referenced by colvar::communicate_forces, and set_elem.
[inline, static]
Ensure that the two types are the same within a binary operator.
Definition at line 421 of file colvarvalue.h.
References COLVARS_ERROR, colvarmodule::error, colvarmodule::to_str, type, type_checking, type_desc, type_quaternion, type_quaternionderiv, type_unit3vector, type_unit3vectorderiv, type_vector, and vector1d_value.
Referenced by colvar::calc_acf, dist2, dist2_grad, colvar::init, inner_opt, interpolate, operator *, operator+, operator+=, operator-, operator-=, and p2leg_opt.
Ensure that the two types are the same within an assignment, or that the left side is type_notset.
Definition at line 464 of file colvarvalue.h.
References COLVARS_ERROR, colvarmodule::error, Type, type_checking, type_desc, type_notset, type_quaternion, type_quaternionderiv, type_unit3vector, and type_unit3vectorderiv.
[inline]
Square distance between this colvarvalue and another.
Definition at line 707 of file colvarvalue.h.
References colvarmodule::acos, check_types, quaternion_value, real_value, rvector_value, type, type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, undef_op, and vector1d_value.
Referenced by colvar::cvc::dist2, colvar::dist2, and interpolate.
Derivative with respect to this colvarvalue of the square distance.
Definition at line 595 of file colvarvalue.C.
References check_types, colvarvalue, quaternion_value, real_value, rvector_value, type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, undef_op, value_type, and vector1d_value.
Referenced by colvar::cvc::dist2_lgrad, colvar::dist2_lgrad, colvar::cvc::dist2_rgrad, colvar::dist2_rgrad, and colvarbias_restraint_centers_moving::update_centers.
Parses value from a script-friendly string (space separated list).
Definition at line 697 of file colvarvalue.C.
References COLVARS_ERROR, quaternion_value, real_value, rvector_value, type, type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, undef_op, and vector1d_value.
Referenced by colvarproxy_tcl::tcl_run_colvar_callback.
Get a single colvarvalue out of elements of the vector.
Definition at line 353 of file colvarvalue.C.
References colvarvalue, elem_indices, elem_sizes, elem_types, colvarmodule::error, get_elem, and type_notset.
Get a single colvarvalue out of elements of the vector.
Definition at line 331 of file colvarvalue.C.
References colvarvalue, colvarmodule::error, type_notset, and vector1d_value.
[static]
\brief Optimized routine for the inner product of one collective variable with an array.
Definition at line 862 of file colvarvalue.C.
References check_types, quaternion_value, real_value, result, rvector_value, type_3vector, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, undef_op, value_type, and vector1d_value.
[static]
\brief Optimized routine for the inner product of one collective variable with an array.
Definition at line 821 of file colvarvalue.C.
References check_types, quaternion_value, real_value, result, rvector_value, type_3vector, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, undef_op, value_type, and vector1d_value.
Referenced by colvar::calc_coor_acf, and colvar::calc_vel_acf.
[static]
Return the midpoint between x1 and x2, optionally weighted by lambda (which must be between 0.0 and 1.0).
Definition at line 628 of file colvarvalue.C.
References apply_constraints, check_types, COLVARS_BUG_ERROR, COLVARS_INPUT_ERROR, colvarvalue, dist2, colvarmodule::error, norm, colvarmodule::sqrt, type, type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, and undef_op.
Referenced by colvarbias_restraint_centers_moving::init, and colvarbias_restraint_centers_moving::update_centers.
Make the type a derivative of the original type (so that its constraints do not apply).
Definition at line 291 of file colvarvalue.C.
References type, type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, and type_vector.
[inline]
[inline]
Norm of this colvarvalue.
Definition at line 173 of file colvarvalue.h.
References colvarmodule::sqrt.
Referenced by interpolate.
[inline]
Square norm of this colvarvalue.
Definition at line 652 of file colvarvalue.h.
References elem_types, get_elem, quaternion_value, real_value, result, rvector_value, type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, and vector1d_value.
Referenced by colvar::calc_colvar_properties, colvar::calc_coor_acf, colvar::rmsd::calc_value, and colvar::calc_vel_acf.
[static]
Number of degrees of freedom for each supported type.
Definition at line 157 of file colvarvalue.C.
References type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, and type_vector.
[static]
Number of dimensions for each supported type (used to allocate vector1d_value).
Definition at line 180 of file colvarvalue.C.
References type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, and type_vector.
Referenced by add_elem, and colvarvalue.
Return a colvarvalue object of the same type and all components set to 1.
[inline]
Definition at line 581 of file colvarvalue.h.
References quaternion_value, real_value, rvector_value, type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vectorderiv, type_vector, undef_op, and vector1d_value.
[inline]
Definition at line 239 of file colvarvalue.h.
References colvarmodule::error, quaternion_value, type_desc, type_quaternion, type_quaternionderiv, and value_type.
[inline]
Definition at line 215 of file colvarvalue.h.
References colvarmodule::error, operator cvm::real, real_value, type_desc, type_scalar, and value_type.
Referenced by operator cvm::real.
[inline]
Definition at line 226 of file colvarvalue.h.
References colvarmodule::error, rvector_value, type_3vector, type_desc, type_unit3vector, type_unit3vectorderiv, and value_type.
[inline]
Definition at line 527 of file colvarvalue.h.
References check_types, quaternion_value, real_value, rvector_value, type, type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, undef_op, and vector1d_value.
[inline]
Definition at line 554 of file colvarvalue.h.
References check_types, quaternion_value, real_value, rvector_value, type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, undef_op, and vector1d_value.
[inline]
Definition at line 605 of file colvarvalue.h.
References quaternion_value, real_value, rvector_value, type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, undef_op, and vector1d_value.
[inline]
Assignment operator (type of x is checked).
Definition at line 494 of file colvarvalue.h.
References check_types_assign, elem_indices, elem_sizes, elem_types, quaternion_value, real_value, rvector_value, type, type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, undef_op, value_type, and vector1d_value.
[inline]
Use an element of the vector as a scalar number.
Definition at line 398 of file colvarvalue.h.
References COLVARS_BUG_ERROR, colvarmodule::error, quaternion_value, real_value, rvector_value, type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, and vector1d_value.
[inline]
Get a scalar number out of an element of the vector.
Definition at line 375 of file colvarvalue.h.
References COLVARS_BUG_ERROR, colvarmodule::error, quaternion_value, real_value, rvector_value, type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, and vector1d_value.
Give the number of characters required to output this colvarvalue, given the current type assigned and the number of characters for a real number.
Definition at line 799 of file colvarvalue.C.
References type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, value_type, and vector1d_value.
Referenced by colvar::calc_runave, and colvar::write_traj_label.
[static]
\brief Optimized routine for the second order Legendre polynomial of one collective variable with an array.
Definition at line 958 of file colvarvalue.C.
References check_types, colvarmodule::error, quaternion_value, result, rvector_value, type_3vector, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, undef_op, and value_type.
[static]
\brief Optimized routine for the second order Legendre polynomial, (3cos^2(w)-1)/2, of one collective variable with an array.
Definition at line 903 of file colvarvalue.C.
References check_types, colvarmodule::error, quaternion_value, result, rvector_value, type_3vector, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, undef_op, value_type, and vector1d_value.
Referenced by colvar::calc_p2coor_acf.
Set to the null value for the data type currently defined.
Definition at line 202 of file colvarvalue.C.
References quaternion_value, real_value, rvector_value, type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, and vector1d_value.
Referenced by colvar::calc_colvar_properties, colvar::calc_runave, colvar::collect_cvc_Jacobians, colvar::collect_cvc_total_forces, colvar::collect_cvc_values, colvarvalue, colvar::init, colvar::reset_bias_force, type, colvarbias_restraint_histogram::update, colvar::update_extended_Lagrangian, and colvar::update_forces_energy.
Set elements of the vector from a single colvarvalue.
Definition at line 343 of file colvarvalue.C.
References as_vector, colvarmodule::error, and vector1d_value.
Set elements of the vector from a single colvarvalue (uses the rank of x to compute the length).
Definition at line 365 of file colvarvalue.C.
References check_types_assign, elem_indices, elem_sizes, elem_types, colvarmodule::error, and value_type.
Referenced by add_elem, and apply_constraints.
Make each element equal to the given argument.
Definition at line 410 of file colvarvalue.C.
References quaternion_value, real_value, rvector_value, type, type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, undef_op, and vector1d_value.
Referenced by colvarbias_restraint_linear::restraint_force.
Make each element a random number in N(0,1).
Definition at line 376 of file colvarvalue.C.
References quaternion_value, colvarmodule::rand_gaussian, real_value, rvector_value, type, type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, undef_op, and vector1d_value.
Referenced by colvar::update_extended_Lagrangian.
[inline]
Number of dimensions of this variable.
Definition at line 354 of file colvarvalue.h.
References type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, and vector1d_value.
Referenced by colvar::collect_cvc_values, colvar::communicate_forces, colvar::cvc::debug_gradients, colvar::init, and colvar::num_dimensions.
[inline]
Sum of the components of this colvarvalue (if more than one dimension).
Definition at line 684 of file colvarvalue.h.
References quaternion_value, real_value, rvector_value, type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, and vector1d_value.
Formats value as a script-friendly string (space separated list).
Definition at line 670 of file colvarvalue.C.
References quaternion_value, real_value, rvector_value, string, colvarmodule::to_str, type, type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, type_vector, undef_op, and vector1d_value.
Set the type after another colvarvalue.
Definition at line 274 of file colvarvalue.C.
References reset, type, type_vector, value_type, and vector1d_value.
Set the type explicitly.
Definition at line 261 of file colvarvalue.C.
References reset, type_vector, value_type, and vector1d_value.
[inline]
Get the current type.
Definition at line 154 of file colvarvalue.h.
References Type, and value_type.
Referenced by colvar::alch_lambda::alch_lambda, colvar::alpha_angles::alpha_angles, colvar::calc_colvar_properties, colvarbias_meta::calc_hills_force, colvar::calc_runave, check_types, colvar::collect_cvc_values, colvar::communicate_forces, colvar::coordnum::coordnum, colvar::cvc::debug_gradients, colvar::dihedPC::dihedPC, colvar::dipole_magnitude::dipole_magnitude, dist2, colvar::distance_dir::distance_dir, colvar::distance_pairs::distance_pairs, colvar::distance_vec::distance_vec, colvar::distance_z::distance_z, from_simple_string, colvar::h_bond::h_bond, colvar::init, colvar::cvc::init_as_angle, colvar::cvc::init_as_distance, colvar::cvc::init_as_periodic_angle, colvar::init_extended_Lagrangian, colvar::init_grid_parameters, colvar::cvc::init_scalar_boundaries, interpolate, is_derivative, colvar::map_total::map_total, operator+=, operator<<, operator=, operator>>, colvar::orientation::orientation, colvar::polar_theta::polar_theta, colvar::read_state, colvar::reset_bias_force, set_ones, set_random, colvar::spin_angle::spin_angle, to_simple_string, type, colvarbias_restraint_histogram::update, colvar::update_extended_Lagrangian, and colvar::update_forces_energy.
[inline, static]
\brief Whether or not the type check is enforced.
Definition at line 99 of file colvarvalue.h.
Referenced by check_types, and check_types_assign.
Runtime description of value types.
Definition at line 108 of file colvarvalue.C.
References type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, and type_vector.
Referenced by check_types, check_types_assign, colvarvalue, colvar::init, operator cvm::quaternion, operator cvm::real, operator cvm::rvector, and undef_op.
User keywords for specifying value types in the configuration.
Definition at line 133 of file colvarvalue.C.
References type_3vector, type_notset, type_quaternion, type_quaternionderiv, type_scalar, type_unit3vector, type_unit3vectorderiv, and type_vector.
Referenced by colvar::init.
Undefined operation.
Definition at line 444 of file colvarvalue.C.
References colvarmodule::error, and type_desc.
Referenced by dist2, dist2_grad, from_simple_string, inner_opt, interpolate, operator *, operator *=, operator+, operator+=, operator-, operator-=, operator/, operator/=, operator=, operator>>, p2leg_opt, set_ones, set_random, and to_simple_string.
Definition at line 509 of file colvarvalue.C.
Definition at line 534 of file colvarvalue.C.
[friend]
Definition at line 453 of file colvarvalue.C.
[friend]
Definition at line 480 of file colvarvalue.C.
Definition at line 541 of file colvarvalue.C.
[friend]
[friend]
\brief If vector1d_value is a concatenation of colvarvalues, these mark the initial components of each colvarvalue.
Definition at line 92 of file colvarvalue.h.
Referenced by add_elem, apply_constraints, colvarvalue, get_elem, operator=, and set_elem.
\brief If vector1d_value is a concatenation of colvarvalues, these mark how many components for each colvarvalue.
Definition at line 96 of file colvarvalue.h.
Referenced by add_elem, apply_constraints, colvarvalue, get_elem, operator=, and set_elem.
\brief If vector1d_value is a concatenation of colvarvalues, keep track of the individual types.
Definition at line 88 of file colvarvalue.h.
Referenced by add_elem, apply_constraints, colvarvalue, get_elem, norm2, operator=, and set_elem.
\brief Quaternion data member.
Definition at line 81 of file colvarvalue.h.
Referenced by apply_constraints, colvar::orientation::apply_force, as_vector, colvar::orientation::calc_value, colvarvalue, dist2, colvar::orientation::dist2, dist2_grad, colvar::orientation::dist2_lgrad, colvar::orientation::dist2_rgrad, from_simple_string, inner_opt, norm2, operator *, operator *=, operator cvm::quaternion, operator+, operator+=, operator-, operator-=, operator/, operator/=, operator<<, operator=, operator>>, operator[], p2leg_opt, reset, set_ones, set_random, sum, and to_simple_string.
\brief Real data member.
Definition at line 75 of file colvarvalue.h.
Referenced by colvar::alch_lambda::alch_lambda, colvar::map_total::apply_force, colvar::euler_theta::apply_force, colvar::euler_psi::apply_force, colvar::euler_phi::apply_force, colvar::spin_angle::apply_force, colvar::tilt::apply_force, colvar::orientation_proj::apply_force, colvar::orientation_angle::apply_force, colvar::alpha_angles::apply_force, colvar::eigenvector::apply_force, colvar::rmsd::apply_force, colvar::inertia_z::apply_force, colvar::inertia::apply_force, colvar::gyration::apply_force, colvar::dipole_magnitude::apply_force, colvar::distance_inv::apply_force, colvar::distance_xy::apply_force, colvar::distance_z::apply_force, colvar::distance::apply_force, colvar::groupcoordnum::apply_force, colvar::selfcoordnum::apply_force, colvar::coordnum::apply_force, colvar::polar_phi::apply_force, colvar::polar_theta::apply_force, colvar::dihedral::apply_force, colvar::dipole_angle::apply_force, colvar::angle::apply_force, colvar::alch_Flambda::apply_force, colvar::alch_lambda::apply_force, as_vector, colvar_grid< size_t >::bin_to_value_scalar, colvar::eigenvector::calc_force_invgrads, colvar::rmsd::calc_force_invgrads, colvar::gyration::calc_force_invgrads, colvar::distance_xy::calc_force_invgrads, colvar::distance_z::calc_force_invgrads, colvar::distance::calc_force_invgrads, colvar::dihedral::calc_force_invgrads, colvar::angle::calc_force_invgrads, colvar::rmsd::calc_gradients, colvar::gyration::calc_gradients, colvar::distance_xy::calc_gradients, colvar::distance_z::calc_gradients, colvar::eigenvector::calc_Jacobian_derivative, colvar::rmsd::calc_Jacobian_derivative, colvar::gyration::calc_Jacobian_derivative, colvar::distance_xy::calc_Jacobian_derivative, colvar::distance_z::calc_Jacobian_derivative, colvar::distance::calc_Jacobian_derivative, colvar::angle::calc_Jacobian_derivative, colvar::map_total::calc_value, colvar::euler_theta::calc_value, colvar::euler_psi::calc_value, colvar::euler_phi::calc_value, colvar::spin_angle::calc_value, colvar::tilt::calc_value, colvar::orientation_proj::calc_value, colvar::orientation_angle::calc_value, colvar::dihedPC::calc_value, colvar::alpha_angles::calc_value, colvar::eigenvector::calc_value, colvar::rmsd::calc_value, colvar::inertia_z::calc_value, colvar::inertia::calc_value, colvar::gyration::calc_value, colvar::dipole_magnitude::calc_value, colvar::distance_inv::calc_value, colvar::distance_xy::calc_value, colvar::distance_z::calc_value, colvar::distance::calc_value, colvar::groupcoordnum::calc_value, colvar::selfcoordnum::calc_value, colvar::h_bond::calc_value, colvar::coordnum::calc_value, colvar::polar_phi::calc_value, colvar::polar_theta::calc_value, colvar::dihedral::calc_value, colvar::dipole_angle::calc_value, colvar::angle::calc_value, colvar::alch_Flambda::calc_value, colvar::alch_lambda::calc_value, colvarvalue, colvar::selfcoordnum::compute_selfcoordnum, colvar::cvc::debug_gradients, dist2, colvar::euler_psi::dist2, colvar::euler_phi::dist2, colvar::spin_angle::dist2, colvar::distance_z::dist2, colvar::polar_phi::dist2, colvar::dihedral::dist2, colvar::dist2, dist2_grad, colvar::euler_psi::dist2_lgrad, colvar::euler_phi::dist2_lgrad, colvar::spin_angle::dist2_lgrad, colvar::distance_z::dist2_lgrad, colvar::polar_phi::dist2_lgrad, colvar::dihedral::dist2_lgrad, colvar::dist2_lgrad, colvar::euler_psi::dist2_rgrad, colvar::euler_phi::dist2_rgrad, colvar::spin_angle::dist2_rgrad, colvar::distance_z::dist2_rgrad, colvar::polar_phi::dist2_rgrad, colvar::dihedral::dist2_rgrad, colvar::dist2_rgrad, from_simple_string, colvar::cvc::init_as_distance, colvar::init_grid_parameters, colvar::cvc::init_scalar_boundaries, inner_opt, colvar::coordnum::main_loop, norm2, operator *, operator *=, operator cvm::real, operator+, operator+=, operator-, operator-=, operator/, operator/=, operator<<, operator=, operator>>, operator[], reset, set_ones, set_random, sum, to_simple_string, colvarbias_restraint_histogram::update, colvar_grid< size_t >::value_to_bin_scalar, colvar_grid< size_t >::value_to_bin_scalar_bound, colvar_grid< size_t >::value_to_bin_scalar_fraction, colvar::euler_psi::wrap, colvar::euler_phi::wrap, colvar::spin_angle::wrap, colvar::distance_z::wrap, colvar::polar_phi::wrap, colvar::dihedral::wrap, and colvar::wrap.
\brief 3-dimensional vector data member.
Definition at line 78 of file colvarvalue.h.
Referenced by apply_constraints, colvar::distance_dir::apply_force, colvar::distance_vec::apply_force, as_vector, colvar::distance_dir::calc_value, colvar::distance_vec::calc_value, colvarvalue, dist2, colvar::distance_dir::dist2, colvar::distance_vec::dist2, dist2_grad, colvar::distance_dir::dist2_lgrad, colvar::distance_vec::dist2_lgrad, colvar::distance_dir::dist2_rgrad, colvar::distance_vec::dist2_rgrad, from_simple_string, inner_opt, norm2, operator *, operator *=, operator cvm::rvector, operator+, operator+=, operator-, operator-=, operator/, operator/=, operator<<, operator=, operator>>, operator[], p2leg_opt, reset, set_ones, set_random, sum, and to_simple_string.
Current type of this colvarvalue object.
Definition at line 72 of file colvarvalue.h.
Referenced by add_elem, colvarvalue, dist2_grad, inner_opt, operator *, operator cvm::quaternion, operator cvm::real, operator cvm::rvector, operator+, operator-, operator/, operator=, output_width, p2leg_opt, set_elem, and type.
\brief Generic vector data member.
Definition at line 84 of file colvarvalue.h.
Referenced by add_elem, apply_constraints, colvar::cartesian::apply_force, as_vector, colvar::cartesian::calc_value, colvar::distance_pairs::calc_value, check_types, colvarvalue, dist2, dist2_grad, from_simple_string, get_elem, colvar::init, inner_opt, norm2, operator *, operator *=, operator+, operator+=, operator-, operator-=, operator/, operator/=, operator<<, operator=, operator>>, operator[], output_width, p2leg_opt, reset, set_elem, set_ones, set_random, size, sum, to_simple_string, type, and colvarbias_restraint_histogram::update.