|
|
COLVARS_HOST_DEVICE void | reset () |
| | Set all components to zero.
|
| |
|
COLVARS_HOST_DEVICE | rvector (cvm::real x_i, cvm::real y_i, cvm::real z_i) |
| |
|
| rvector (cvm::vector1d< cvm::real > const &v) |
| |
|
COLVARS_HOST_DEVICE | rvector (cvm::real t) |
| |
|
COLVARS_HOST_DEVICE void | set (cvm::real value) |
| | Set all components to a scalar.
|
| |
|
COLVARS_HOST_DEVICE void | set (cvm::real x_i, cvm::real y_i, cvm::real z_i) |
| | Assign all components.
|
| |
|
COLVARS_HOST_DEVICE cvm::real & | operator[] (int i) |
| | Access cartesian components by index.
|
| |
|
COLVARS_HOST_DEVICE cvm::real | operator[] (int i) const |
| | Access cartesian components by index.
|
| |
|
cvm::vector1d< cvm::real > const | as_vector () const |
| |
|
COLVARS_HOST_DEVICE void | operator+= (cvm::rvector const &v) |
| |
|
COLVARS_HOST_DEVICE void | operator-= (cvm::rvector const &v) |
| |
|
COLVARS_HOST_DEVICE void | operator*= (cvm::real v) |
| |
|
COLVARS_HOST_DEVICE void | operator/= (cvm::real const &v) |
| |
|
COLVARS_HOST_DEVICE cvm::real | norm2 () const |
| |
|
COLVARS_HOST_DEVICE cvm::real | norm () const |
| |
|
COLVARS_HOST_DEVICE cvm::rvector | unit () const |
| |
|
std::string | to_simple_string () const |
| |
|
int | from_simple_string (std::string const &s) |
| |
vector of real numbers with three components