git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10310 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -16,6 +16,8 @@
|
||||
|
||||
#include "stdio.h"
|
||||
#include "pointers.h"
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
namespace LAMMPS_NS {
|
||||
|
||||
@ -49,6 +51,11 @@ class Input : protected Pointers {
|
||||
|
||||
FILE **infiles; // list of open input files
|
||||
|
||||
typedef void (*CommandCreator)(LAMMPS *, int, char **);
|
||||
std::map<std::string,CommandCreator> *command_map;
|
||||
|
||||
template <typename T> static void command_creator(LAMMPS *, int, char **);
|
||||
|
||||
void parse(); // parse an input text line
|
||||
char *nextword(char *, char **); // find next word in string with quotes
|
||||
void reallocate(char *&, int &, int); // reallocate a char string
|
||||
|
||||
Reference in New Issue
Block a user