Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

colvarmodule_utils.h File Reference

#include "colvarmodule.h"

Go to the source code of this file.

Functions

template<typename T> cvm::real get_force_norm2 (T const &x)
template<> cvm::real get_force_norm2 (cvm::real const &x)
template<typename T, int flag, bool get_index> cvm::real compute_norm2_stats (std::vector< T > const &v, int *minmax_index=NULL)


Function Documentation

template<typename T, int flag, bool get_index>
cvm::real compute_norm2_stats std::vector< T > const &    v,
int *    minmax_index = NULL
 

Definition at line 33 of file colvarmodule_utils.h.

References n, NULL, colvarmodule::real, result, and colvarmodule::sqrt.

template<>
cvm::real get_force_norm2 cvm::real const &    x [inline]
 

Definition at line 26 of file colvarmodule_utils.h.

template<typename T>
cvm::real get_force_norm2 T const &    x
 

Definition at line 19 of file colvarmodule_utils.h.


Generated on Tue Apr 30 02:45:17 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002