Skip to content

Commit

Permalink
Remove additional unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
mphoward committed May 28, 2024
1 parent b477037 commit b3e5e77
Show file tree
Hide file tree
Showing 4 changed files with 125 additions and 170 deletions.
18 changes: 0 additions & 18 deletions src/PairPotentialAshbaugh24.cu

This file was deleted.

18 changes: 0 additions & 18 deletions src/PairPotentialLJ124.cu

This file was deleted.

28 changes: 13 additions & 15 deletions src/PairPotentials.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@

// All pair potential evaluators must be included here
#include "PairEvaluatorAshbaugh.h"
#include "PairEvaluatorAshbaugh24.h"
#include "PairEvaluatorColloid.h"
#include "PairEvaluatorHertz.h"
#include "PairEvaluatorLJ124.h"
#include "PairEvaluatorLJ96.h"
#include "PairEvaluatorShiftedLJ.h"
#include "PairEvaluatorSpline.h"
Expand All @@ -54,21 +52,21 @@

namespace azplugins
{
namespace detail
{
//! Exports the pair potential to the python module
template<class evaluator>
void export_pair_potential(pybind11::module& m, const std::string& name)
namespace detail
{
typedef ::PotentialPair<evaluator> pair_potential_cpu;
export_PotentialPair<pair_potential_cpu>(m, name);
//! Exports the pair potential to the python module
template <class evaluator>
void export_pair_potential(pybind11::module &m, const std::string &name)
{
typedef ::PotentialPair<evaluator> pair_potential_cpu;
export_PotentialPair<pair_potential_cpu>(m, name);

#ifdef ENABLE_CUDA
typedef ::PotentialPairGPU<evaluator, azplugins::gpu::compute_pair_potential<evaluator> > pair_potential_gpu;
export_PotentialPairGPU<pair_potential_gpu, pair_potential_cpu>(m, name + "GPU");
#endif // ENABLE_CUDA
}
} // end namespace detail
#ifdef ENABLE_CUDA
typedef ::PotentialPairGPU<evaluator, azplugins::gpu::compute_pair_potential<evaluator>> pair_potential_gpu;
export_PotentialPairGPU<pair_potential_gpu, pair_potential_cpu>(m, name + "GPU");
#endif // ENABLE_CUDA
}
} // end namespace detail
} // end namespace azplugins
#endif // NVCC

Expand Down
Loading

0 comments on commit b3e5e77

Please sign in to comment.