2020-08-18 14:27:28 +02:00
|
|
|
/*
|
2022-09-05 10:39:42 +02:00
|
|
|
* Copyright (C) 2022 NHR@FAU, University Erlangen-Nuremberg.
|
|
|
|
* All rights reserved. This file is part of MD-Bench.
|
|
|
|
* Use of this source code is governed by a LGPL-3.0
|
|
|
|
* license that can be found in the LICENSE file.
|
2020-08-18 14:27:28 +02:00
|
|
|
*/
|
|
|
|
#include <atom.h>
|
|
|
|
#include <parameter.h>
|
|
|
|
|
|
|
|
#ifndef __PBC_H_
|
|
|
|
#define __PBC_H_
|
|
|
|
extern void initPbc();
|
2022-11-08 18:33:23 +01:00
|
|
|
extern void cpuUpdatePbc(Atom*, Parameter*, int);
|
2020-08-18 14:27:28 +02:00
|
|
|
extern void updateAtomsPbc(Atom*, Parameter*);
|
|
|
|
extern void setupPbc(Atom*, Parameter*);
|
2022-11-08 18:33:23 +01:00
|
|
|
|
|
|
|
#ifdef CUDA_TARGET
|
|
|
|
extern void cudaUpdatePbc(Atom*, Parameter*, int);
|
2023-05-09 00:44:37 +02:00
|
|
|
#if defined(USE_SUPER_CLUSTERS)
|
|
|
|
extern void setupPbcGPU(Atom*, Parameter*);
|
|
|
|
#endif //defined(USE_SUPER_CLUSTERS)
|
2022-11-08 18:33:23 +01:00
|
|
|
#endif
|
2020-08-18 14:27:28 +02:00
|
|
|
#endif
|