Reci
Reci
h"
#include "const.h"
#include "fundec.h"
#define ENABLE_OMP 1
double reci0(double **PosIons, float *charge_prod, int natoms, double betaa, float
**box){
double energy = 0;
double
Length[3]={sqrt(dotProduct(box[0],box[0],3)),sqrt(dotProduct(box[1],box[1],3)),sqrt
(dotProduct(box[2],box[2],3))};
return 2*sqrt(M_PI)*energy/(betaa*Length[0]*Length[1]);;
}