14 string chFile =
"isotopes.dat";
20 strcat( chPath, chFile.c_str() );
27 while(
read_whole_line( chLine , (
int)
sizeof(chLine) , ioDATA ) != NULL )
35 if( chLine[0]==
'\n' || chLine[0]==
'\0' )
38 "PROBLEM in LoadIsotopes: Encountered unexpected empty line in %s.\n",
45 int ielem = (int)
FFmtRead(chLine,&i,
sizeof(chLine),&lgEOL) - 1;
48 int Aiso = (int)
FFmtRead(chLine,&i,
sizeof(chLine),&lgEOL);
51 FFmtRead(chLine,&i,
sizeof(chLine),&lgEOL);
58 double tmp =
FFmtRead(chLine,&i,
sizeof(chLine),&lgEOL);
FILE * open_data(const char *fname, const char *mode, access_scheme scheme)
const int FILENAME_PATH_LENGTH_2
const int INPUT_LINE_LENGTH
#define DEBUG_ENTRY(funcname)
int fprintf(const Output &stream, const char *format,...)
char * read_whole_line(char *chLine, int nChar, FILE *ioIN)
void setData(int Anum, realnum nmass, realnum nspin, realnum nmagmom)
double FFmtRead(const char *chCard, long int *ipnt, long int last, bool *lgEOL)