Add version with stubbed force calculation

Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
This commit is contained in:
Rafael Ravedutti
2021-03-30 01:54:56 +02:00
parent 2bc3120112
commit 7efd30791a
12 changed files with 174 additions and 13 deletions

View File

@@ -74,10 +74,10 @@ double setup(
Neighbor *neighbor)
{
double S, E;
double lattice = pow((4.0 / param->rho), (1.0 / 3.0));
param->xprd = param->nx * lattice;
param->yprd = param->ny * lattice;
param->zprd = param->nz * lattice;
param->lattice = pow((4.0 / param->rho), (1.0 / 3.0));
param->xprd = param->nx * param->lattice;
param->yprd = param->ny * param->lattice;
param->zprd = param->nz * param->lattice;
S = getTimeStamp();
initAtom(atom);