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
|
|
|
*/
|
2022-08-09 18:53:53 +02:00
|
|
|
#include <stdbool.h>
|
|
|
|
//---
|
2020-08-18 14:27:28 +02:00
|
|
|
#include <atom.h>
|
|
|
|
#include <parameter.h>
|
|
|
|
|
|
|
|
#ifndef __PBC_H_
|
|
|
|
#define __PBC_H_
|
|
|
|
extern void initPbc();
|
2022-08-12 17:28:06 +02:00
|
|
|
extern void updatePbc_cpu(Atom*, Parameter*, bool);
|
|
|
|
extern void updateAtomsPbc_cpu(Atom*, Parameter*);
|
2020-08-18 14:27:28 +02:00
|
|
|
extern void setupPbc(Atom*, Parameter*);
|
2022-08-09 18:53:53 +02:00
|
|
|
|
|
|
|
#ifdef CUDA_TARGET
|
2022-08-12 17:28:06 +02:00
|
|
|
extern void updatePbc_cuda(Atom*, Parameter*, bool);
|
|
|
|
extern void updateAtomsPbc_cuda(Atom*, Parameter*);
|
2022-08-09 18:53:53 +02:00
|
|
|
#endif
|
|
|
|
|
2020-08-18 14:27:28 +02:00
|
|
|
#endif
|