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

Go to the source code of this file.

Functions

void PrintCom ()
 

Function Documentation

◆ PrintCom()

void PrintCom ( )

Definition at line 28 of file PrintCom.c.

28 {
29 fprintf(fpcom, "%0.4lf\t%0.16lf\t%0.16lf\n", timeNow, ComX, ComY);
30 fflush(fpcom);
31 }
double ComY
Definition global.h:47
FILE * fpcom
double timeNow
Definition global.h:20
double ComX

References ComX, ComY, fpcom, and timeNow.

Referenced by main().

+ Here is the caller graph for this function: