Add force calculation kernel and fix incorrect ctest configuration for Cuda tests

This commit is contained in:
Alex Selimov 2025-08-27 22:07:47 -04:00
parent cad74747bf
commit dc74e4e5c0
Signed by: aselimov
GPG key ID: 3DDB9C3E023F1F31
6 changed files with 348 additions and 6 deletions

View file

@ -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