-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathinteraction.h
29 lines (25 loc) · 1.35 KB
/
interaction.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* Functions used to calculate the interaction term
*
* Copyright (C) ADDA contributors
* This file is part of ADDA.
*
* ADDA is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
*
* ADDA is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with ADDA. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef __interaction_h
#define __interaction_h
#include "cmplx.h"
// following function pointers are explained in interaction.c
extern void (*InterTerm_int)(const int i,const int j,const int k,doublecomplex result[static restrict 6]);
extern void (*InterTerm_real)(const double qvec[static restrict 3],doublecomplex result[static restrict 6]);
extern void (*ReflTerm_int)(const int i,const int j,const int k,doublecomplex result[static restrict 6]);
extern void (*ReflTerm_real)(const double qvec[static restrict 3],doublecomplex result[static restrict 6]);
void InitInteraction(void);
void FreeInteraction(void);
#endif //__interaction_h