Removed unused member functions in edpd

This commit is contained in:
Trung Nguyen
2023-12-07 10:16:40 -06:00
parent 0940793537
commit 1849df15e0
4 changed files with 5 additions and 21 deletions

View File

@ -196,11 +196,9 @@ class BaseDPD {
numtyp _dtinvsqrt;
int _seed, _timestep;
int _extra_fields;
protected:
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 _gpu_overhead, _driver_overhead;
UCL_D_Vec<int> *_nbor_data;

View File

@ -271,16 +271,6 @@ int EDPDT::loop(const int eflag, const int vflag) {
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
// ---------------------------------------------------------------------------

View File

@ -13,8 +13,8 @@
email : ndactrung@gmail.com
***************************************************************************/
#ifndef LAL_DPD_H
#define LAL_DPD_H
#ifndef LAL_EDPD_H
#define LAL_EDPD_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
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);
/// copy Q (flux) from device to host

View File

@ -13,8 +13,8 @@
email : ndactrung@gmail.com
***************************************************************************/
#ifndef LAL_DPD_H
#define LAL_DPD_H
#ifndef LAL_MDPD_H
#define LAL_MDPD_H
#include "lal_base_dpd.h"