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

Go to the source code of this file.

Functions

void ApplyShear ()
 

Function Documentation

◆ ApplyShear()

void ApplyShear ( )

Definition at line 25 of file ApplyShear.c.

25 {
26 int n;
27 for(n = 1 ; n <= nAtom ; n ++){
28 rx[n] += strain * ry[n];
29 //vx[n] += stranRate * ry[n];
30 } }
int nAtom
Definition global.h:24
double strain
double * rx
double * ry
Definition global.h:17

References nAtom, rx, ry, and strain.