git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12727 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
889
src/variable.cpp
889
src/variable.cpp
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
|||||||
/* -*- c++ -*- ----------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
|
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
|
||||||
http://lammps.sandia.gov, Sandia National Laboratories
|
http://lammps.sandia.gov, Sandia National Laboratories
|
||||||
Steve Plimpton, sjplimp@sandia.gov
|
Steve Plimpton, sjplimp@sandia.gov
|
||||||
@ -72,7 +72,9 @@ class Variable : protected Pointers {
|
|||||||
int nstride; // stride between atoms if array is a 2d array
|
int nstride; // stride between atoms if array is a 2d array
|
||||||
int selfalloc; // 1 if array is allocated here, else 0
|
int selfalloc; // 1 if array is allocated here, else 0
|
||||||
int ivalue1,ivalue2; // extra values for needed for gmask,rmask,grmask
|
int ivalue1,ivalue2; // extra values for needed for gmask,rmask,grmask
|
||||||
Tree *left,*middle,*right; // ptrs further down tree
|
int nextra; // # of additional args beyond first 2
|
||||||
|
Tree *first,*second; // ptrs further down tree for first 2 args
|
||||||
|
Tree **extra; // ptrs further down tree for nextra args
|
||||||
};
|
};
|
||||||
|
|
||||||
void remove(int);
|
void remove(int);
|
||||||
@ -94,6 +96,7 @@ class Variable : protected Pointers {
|
|||||||
void atom_vector(char *, Tree **, Tree **, int &);
|
void atom_vector(char *, Tree **, Tree **, int &);
|
||||||
int is_constant(char *);
|
int is_constant(char *);
|
||||||
double constant(char *);
|
double constant(char *);
|
||||||
|
int parse_args(char *, char **);
|
||||||
char *find_next_comma(char *);
|
char *find_next_comma(char *);
|
||||||
void print_tree(Tree *, int);
|
void print_tree(Tree *, int);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user