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

Go to the source code of this file.

Functions

void ZeroVacf ()
 
void InitVacf ()
 

Function Documentation

◆ InitVacf()

void InitVacf ( )

Definition at line 26 of file InitVacf.c.

26 {
27 int nb;
28 for(nb = 1 ; nb <= nBuffAcf ; nb ++)
29 indexAcf[nb] = -(nb-1)*nValAcf/nBuffAcf;
30 ZeroVacf();
31}
void ZeroVacf()
Definition ZeroVacf.c:25
int nValAcf
int nBuffAcf
Definition global.h:100
double * indexAcf

References indexAcf, nBuffAcf, nValAcf, and ZeroVacf().

Referenced by SetupJob().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ZeroVacf()

void ZeroVacf ( )

Definition at line 25 of file ZeroVacf.c.

25 {
26 int j;
27 countAcfAv= 0 ;
28 for(j = 1 ; j <= nValAcf ; j ++)
29 viscAcfAv[j] = 0.;
30}
double * viscAcfAv
Definition global.h:99
int countAcfAv
Definition global.h:100

Referenced by InitVacf().

+ Here is the caller graph for this function: