JDFTx  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
parser.h File Reference

Functions for parsing JDFTx input files. More...

#include <vector>

Functions

std::vector< std::pair< string,
string > > 
readInputFile (string filename)
 Read input from file into an array of command/argument-list pairs. This routine handles comments, line continuation as well as environment substitution. In MPI mode, the input will be read only on head and distributed to all the processes. More...
 
void parse (std::vector< std::pair< string, string > > input, Everything &everything, bool printDefaults=false)
 Parse input and initialize everything. More...
 
void printDefaultTemplate (Everything &e)
 Output command documentation in the form of an input file template. This will output the comments for all the commands, along with the default command line, if any. More...
 
void writeCommandManual (Everything &e, string section)
 Output command docuemntation in Doxygen format which gets converted to the HTML and LaTeX manuals. More...
 

Detailed Description

Functions for parsing JDFTx input files.