parm.C File Reference

#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <string.h>
#include "strlib.h"
#include "common.h"
#include "InfoStream.h"
#include "parm.h"

Go to the source code of this file.

Functions

static int readtoeoln (FILE *f)

Variables

static int debug = 0


Function Documentation

static int readtoeoln ( FILE *  f  )  [static]

Definition at line 51 of file parm.C.

Referenced by PDB::PDB(), parm::read_fortran_12I6(), and parm::readparm().

00051                                {
00052   char c;
00053 
00054   /* skip to eoln */
00055   while((c = getc(f)) != '\n') {
00056     if (c == EOF) 
00057       return -1;
00058   }
00059 
00060   return 0;
00061 }  


Variable Documentation

int debug = 0 [static]

Definition at line 36 of file parm.C.

Referenced by colvarproxy_namd::calculate(), colvarproxy_namd::check_atom_id(), colvarproxy_namd::colvarproxy_namd(), colvarproxy_namd::init_atom(), colvarproxy_namd::init_atom_group(), colvarproxy_namd::output_stream(), parm::readparm(), colvarproxy_namd::request_total_force(), colvarproxy_namd::update_atoms_map(), and colvarproxy_namd::update_group_properties().


Generated on Sat Nov 18 01:17:17 2017 for NAMD by  doxygen 1.4.7