Add force calculation kernel and fix incorrect ctest configuration for Cuda tests
This commit is contained in:
parent
cad74747bf
commit
dc74e4e5c0
6 changed files with 348 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
#ifndef POTENTIALS_H
|
||||
#define POTENTIALS_H
|
||||
#ifndef POTENTIALS_CUH
|
||||
#define POTENTIALS_CUH
|
||||
|
||||
#include "precision.hpp"
|
||||
#include "vec3.h"
|
||||
|
@ -84,8 +84,8 @@ struct LennardJones : PairPotential {
|
|||
}
|
||||
};
|
||||
|
||||
CUDA_CALLABLE ~LennardJones(){};
|
||||
CUDA_CALLABLE inline ~LennardJones(){};
|
||||
};
|
||||
|
||||
PairPotential::~PairPotential() {};
|
||||
inline PairPotential::~PairPotential() {};
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue