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; |
123 |
|
char* ffPath_env = "FORCE_PARAM_PATH"; |
124 |
|
char* ffPath; |
125 |
|
char temp[200]; |
126 |
– |
char errMsg[1000]; |
126 |
|
|
127 |
|
headAtomType = NULL; |
128 |
|
currentAtomType = NULL; |
248 |
|
info.last = 1; // initialize last to have the last set. |
249 |
|
// if things go well, last will be set to 0 |
250 |
|
|
252 |
– |
int i; |
251 |
|
int identNum; |
252 |
|
|
253 |
|
|
402 |
|
// initialize the atoms |
403 |
|
|
404 |
|
|
407 |
– |
Atom* thisAtom; |
408 |
– |
|
405 |
|
for( i=0; i<nAtoms; i++ ){ |
406 |
|
|
407 |
|
currentAtomType = headAtomType->find( the_atoms[i]->getType() ); |