--- trunk/tcProps/tcProps.c 2004/02/16 21:50:34 1055 +++ trunk/tcProps/tcProps.c 2004/02/17 14:30:48 1056 @@ -13,11 +13,11 @@ int main( int argC, char *argV[] ){ // list of 'a priori' constants - const int nLipAtoms = 19; - const int nBonds = 18; - const int nLipids = NLIPIDS; - const int nSSD = NSSD; - const int nAtoms = nLipAtoms * nLipids + nSSD; + const int nLipAtoms = NL_ATOMS; + const int nBonds = NBONDS; + const int nLipids = NLIPIDS; + const int nSSD = NSSD; + const int nAtoms = nLipAtoms * nLipids + nSSD; // different needed variables @@ -29,6 +29,9 @@ int main( int argC, char *argV[] ){ // system initialization isScanned = 0; + fileOpen = 0; + nFrames = 0; + frameTimes = NULL; // initialize the arrays @@ -87,5 +90,5 @@ int main( int argC, char *argV[] ){ // read and set the frames - nFrames = setFrames( inName ); + setFrames( inName );