Lemina
A molecular dynamics package for network, granular material and point particles with a range of interaction potential.
 
Loading...
Searching...
No Matches
EvalUnwrap.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "global.h"
+ Include dependency graph for EvalUnwrap.c:

Go to the source code of this file.

Functions

void EvalUnwrap ()
 

Function Documentation

◆ EvalUnwrap()

void EvalUnwrap ( )

Definition at line 27 of file EvalUnwrap.c.

27 {
28 int n;
29 for (n = 1; n <= nAtom; n++) {
30 rxUnwrap[n] = rx[n] + ImageX[n] * region[1];
31 ryUnwrap[n] = ry[n] + ImageY[n] * region[2];
32 }
33}
int nAtom
Definition global.h:24
double region[2+1]
int * ImageX
int * ImageY
Definition global.h:50
double * rx
double * ryUnwrap
Definition global.h:51
double * rxUnwrap
double * ry
Definition global.h:17

References ImageX, ImageY, nAtom, region, rx, rxUnwrap, ry, and ryUnwrap.

Referenced by main().

+ Here is the caller graph for this function: