1 |
< |
#include <cstdlib> |
2 |
< |
#include <cstdio> |
3 |
< |
#include <cstring> |
1 |
> |
#include <stdlib.h> |
2 |
> |
#include <stdio.h> |
3 |
> |
#include <string.h> |
4 |
|
|
5 |
|
#include <iostream> |
6 |
|
using namespace std; |
754 |
|
|
755 |
|
int isGB = 0; |
756 |
|
int isLJ = 1; |
757 |
+ |
int isEAM = 0; |
758 |
+ |
int isCharge = 0; |
759 |
|
double GB_dummy = 0.0; |
760 |
+ |
double charge = 0.0; |
761 |
|
|
762 |
|
|
763 |
|
currentAtomType = headAtomType->next;; |
776 |
|
&(currentAtomType->isSSD), |
777 |
|
&(currentAtomType->isDipole), |
778 |
|
&isGB, |
779 |
+ |
&isEAM, |
780 |
+ |
&isCharge, |
781 |
|
&(currentAtomType->epslon), |
782 |
|
&(currentAtomType->sigma), |
783 |
+ |
&charge, |
784 |
|
&(currentAtomType->dipole), |
785 |
|
&isError ); |
786 |
|
if( isError ){ |