Removed unused member functions in edpd
This commit is contained in:
@ -196,11 +196,9 @@ class BaseDPD {
|
|||||||
numtyp _dtinvsqrt;
|
numtyp _dtinvsqrt;
|
||||||
int _seed, _timestep;
|
int _seed, _timestep;
|
||||||
|
|
||||||
int _extra_fields;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool _compiled;
|
bool _compiled;
|
||||||
int _block_size, _threads_per_atom, _onetype;
|
int _block_size, _threads_per_atom, _onetype, _extra_fields;
|
||||||
double _max_bytes, _max_an_bytes;
|
double _max_bytes, _max_an_bytes;
|
||||||
double _gpu_overhead, _driver_overhead;
|
double _gpu_overhead, _driver_overhead;
|
||||||
UCL_D_Vec<int> *_nbor_data;
|
UCL_D_Vec<int> *_nbor_data;
|
||||||
|
|||||||
@ -271,16 +271,6 @@ int EDPDT::loop(const int eflag, const int vflag) {
|
|||||||
return GX;
|
return GX;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class numtyp, class acctyp>
|
|
||||||
void EDPDT::update_coeff(int ntypes, double **host_a0, double **host_gamma,
|
|
||||||
double **host_sigma, double **host_cut)
|
|
||||||
{
|
|
||||||
UCL_H_Vec<numtyp> host_write(_lj_types*_lj_types*32,*(this->ucl_device),
|
|
||||||
UCL_WRITE_ONLY);
|
|
||||||
this->atom->type_pack4(ntypes,_lj_types,coeff,host_write,host_a0,host_gamma,
|
|
||||||
host_sigma,host_cut);
|
|
||||||
}
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
// Get the extra data pointers from host
|
// Get the extra data pointers from host
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|||||||
@ -13,8 +13,8 @@
|
|||||||
email : ndactrung@gmail.com
|
email : ndactrung@gmail.com
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#ifndef LAL_DPD_H
|
#ifndef LAL_EDPD_H
|
||||||
#define LAL_DPD_H
|
#define LAL_EDPD_H
|
||||||
|
|
||||||
#include "lal_base_dpd.h"
|
#include "lal_base_dpd.h"
|
||||||
|
|
||||||
@ -56,10 +56,6 @@ class EDPD : public BaseDPD<numtyp, acctyp> {
|
|||||||
/// Total host memory used by library for pair style
|
/// Total host memory used by library for pair style
|
||||||
double host_memory_usage() const;
|
double host_memory_usage() const;
|
||||||
|
|
||||||
/// Update coeff if needed (tstat only)
|
|
||||||
void update_coeff(int ntypes, double **host_a0, double **host_gamma,
|
|
||||||
double **host_sigma, double **host_cut);
|
|
||||||
|
|
||||||
void get_extra_data(double *host_T, double *host_cv);
|
void get_extra_data(double *host_T, double *host_cv);
|
||||||
|
|
||||||
/// copy Q (flux) from device to host
|
/// copy Q (flux) from device to host
|
||||||
|
|||||||
@ -13,8 +13,8 @@
|
|||||||
email : ndactrung@gmail.com
|
email : ndactrung@gmail.com
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#ifndef LAL_DPD_H
|
#ifndef LAL_MDPD_H
|
||||||
#define LAL_DPD_H
|
#define LAL_MDPD_H
|
||||||
|
|
||||||
#include "lal_base_dpd.h"
|
#include "lal_base_dpd.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user