| 
    NAMD
    
   | 
 
#include "Molecule.h"#include "ComputeNonbondedUtil.h"#include "LJTable.h"#include "CudaUtils.h"#include "CudaNonbondedTables.h"#include "Node.h"#include "Parameters.h"#include "SimParameters.h"#include "InfoStream.h"Go to the source code of this file.
Functions | |
| template<typename T > | |
| void | copyTable (int size, T *h_table, T *&d_table, bool update=false) | 
| template<typename T > | |
| void | bindTextureObject (int size, T *h_table, T *&d_table, cudaTextureObject_t &tex, bool update=false) | 
| template<typename T > | |
| void | buildForceAndEnergyTable (const int tableSize, const double *r2list, const BigReal *src_table, const bool flip, const BigReal prefac, const int dst_stride, T *dst_force, T *dst_energy) | 
| template<typename T > | |
| void | bindTextureObject (int tableSize, int tableWidth, T *h_table, cudaArray_t &array, cudaTextureObject_t &tableTex, T **d_table) | 
| void bindTextureObject | ( | int | size, | 
| T * | h_table, | ||
| T *& | d_table, | ||
| cudaTextureObject_t & | tex, | ||
| bool | update = false  | 
        ||
| ) | 
Definition at line 83 of file CudaNonbondedTables.C.
References cudaCheck.
| void bindTextureObject | ( | int | tableSize, | 
| int | tableWidth, | ||
| T * | h_table, | ||
| cudaArray_t & | array, | ||
| cudaTextureObject_t & | tableTex, | ||
| T ** | d_table | ||
| ) | 
Definition at line 270 of file CudaNonbondedTables.C.
References allocate_device_T(), copy_HtoD_T(), and cudaCheck.
| void buildForceAndEnergyTable | ( | const int | tableSize, | 
| const double * | r2list, | ||
| const BigReal * | src_table, | ||
| const bool | flip, | ||
| const BigReal | prefac, | ||
| const int | dst_stride, | ||
| T * | dst_force, | ||
| T * | dst_energy | ||
| ) | 
Definition at line 222 of file CudaNonbondedTables.C.
References ComputeNonbondedUtil::cutoff, ComputeNonbondedUtil::r2_delta, ComputeNonbondedUtil::r2_delta_exp, and ComputeNonbondedUtil::r2_table.
| void copyTable | ( | int | size, | 
| T * | h_table, | ||
| T *& | d_table, | ||
| bool | update = false  | 
        ||
| ) | 
Definition at line 72 of file CudaNonbondedTables.C.
 1.8.14