Collective Variables Module - Developer Documentation
Loading...
Searching...
No Matches
colvartypes_kernel.h
1#ifndef COLVARTYPES_KERNEL_H
2#define COLVARTYPES_KERNEL_H
3
4#include "colvarmodule.h"
5#include "colvar_gpu_support.h"
6
7#if defined(COLVARS_CUDA) || defined(COLVARS_HIP)
8
9namespace colvars_gpu {
10
11int build_overlapping_matrix(
12 const cvm::real* pos1_x,
13 const cvm::real* pos1_y,
14 const cvm::real* pos1_z,
15 const cvm::real* pos2_x,
16 const cvm::real* pos2_y,
17 const cvm::real* pos2_z,
18 cvm::real* S,
19 cvm::real* S_eigvec,
20 cvm::rmatrix* h_C,
21 unsigned int* tbcount,
22 unsigned int num_atoms,
23 cudaGraphNode_t& node,
24 cudaGraph_t& graph,
25 const std::vector<cudaGraphNode_t>& dependencies);
26
27int jacobi_4x4(
28 double* S_eigvec,
29 double* S_eigval,
30 int* max_reached,
32 bool monitor_crossings,
33 cvm::real crossing_threshold,
34 cvm::quaternion* q_old,
35 int* discontinuous_rotation,
36 cudaGraphNode_t& node,
37 cudaGraph_t& graph,
38 const std::vector<cudaGraphNode_t>& dependencies);
39
40}
41
42#endif // defined(COLVARS_CUDA) || defined(COLVARS_HIP)
43
44#endif // COLVARTYPES_KERNEL_H
1-dimensional vector of real numbers with four components and a quaternion algebra
Definition: colvartypes.h:978
2-dimensional array of real numbers with three components along each dimension (works with colvarmodu...
Definition: colvartypes.h:901
double real
Defining an abstract real number allows to switch precision.
Definition: colvarmodule.h:98
Collective variables main module.