NAMD
Classes | Macros | Variables
ComputeBondedCUDAKernel.h File Reference
#include "CudaUtils.h"
#include "TupleTypesCUDA.h"
#include "CudaNonbondedTables.h"

Go to the source code of this file.

Classes

class  ComputeBondedCUDAKernel
 
struct  ComputeBondedCUDAKernel::BondedVirial< T >
 

Macros

#define USE_FP_FORCE
 
#define FORCE_TYPE   long long int
 
#define USE_STRIDED_FORCE
 
#define USE_FP_VIRIAL
 
#define VIRIAL_TYPE   long long int
 
#define WRITE_FULL_VIRIALS
 

Variables

static __constant__ const float float_to_force = (float)(1ll << 40)
 
static __constant__ const float force_to_float = (float)1.0/(float)(1ll << 40)
 
static __constant__ const double force_to_double = (double)1.0/(double)(1ll << 40)
 
static __constant__ const float float_to_virial = (float)(1ll << 30)
 
static __constant__ const double double_to_virial = (double)(1ll << 30)
 
static __constant__ const double virial_to_double = (double)1.0/(double)(1ll << 30)
 
static __constant__ const long
long int 
CONVERT_TO_VIR = (1ll << 10)
 

Macro Definition Documentation

#define FORCE_TYPE   long long int

Definition at line 11 of file ComputeBondedCUDAKernel.h.

Referenced by ComputeBondedCUDAKernel::getForceStride().

#define USE_FP_FORCE

Definition at line 10 of file ComputeBondedCUDAKernel.h.

#define USE_FP_VIRIAL

Definition at line 19 of file ComputeBondedCUDAKernel.h.

#define USE_STRIDED_FORCE

Definition at line 12 of file ComputeBondedCUDAKernel.h.

#define VIRIAL_TYPE   long long int

Definition at line 21 of file ComputeBondedCUDAKernel.h.

#define WRITE_FULL_VIRIALS

Definition at line 26 of file ComputeBondedCUDAKernel.h.

Variable Documentation

__constant__ const long long int CONVERT_TO_VIR = (1ll << 10)
static

Definition at line 43 of file ComputeBondedCUDAKernel.h.

__constant__ const double double_to_virial = (double)(1ll << 30)
static

Definition at line 41 of file ComputeBondedCUDAKernel.h.

Referenced by bondedForcesKernel(), and modifiedExclusionForcesKernel().

__constant__ const float float_to_force = (float)(1ll << 40)
static
__constant__ const float float_to_virial = (float)(1ll << 30)
static

Definition at line 40 of file ComputeBondedCUDAKernel.h.

__constant__ const double force_to_double = (double)1.0/(double)(1ll << 40)
static

Definition at line 32 of file ComputeBondedCUDAKernel.h.

__constant__ const float force_to_float = (float)1.0/(float)(1ll << 40)
static

Definition at line 31 of file ComputeBondedCUDAKernel.h.

Referenced by angleForce(), and diheForce().

__constant__ const double virial_to_double = (double)1.0/(double)(1ll << 30)
static

Definition at line 42 of file ComputeBondedCUDAKernel.h.