biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
0cb4f65f7218616bf8427ccc850de022f3fd1bf3
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxlib
/
physics_test.c
1
#include <stdio.h>
2
#include "physics.h"
3
4
int main(int argc, char *argv[])
5
{
6
int i;
7
double x, y, z;
8
9
x = 3.25;
10
for (i = 0; (i < eg2cNR); i++)
11
{
12
y = gmx2convert(x, i);
13
z = convert2gmx(y, i);
14
printf("Converted %g [type %d] to %g and back to %g. Diff %g\n",
15
x, i, y, z, x-z);
16
}
17
}