Commit 97b51b94 authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1939 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 000a3d15
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -1083,6 +1083,7 @@ double Variable::evaluate(char *str, Tree **tree)
   process an evaulation tree
   process an evaulation tree
   customize by adding a math function:
   customize by adding a math function:
     sqrt(),exp(),ln(),log(),sin(),cos(),tan(),asin(),acos(),atan()
     sqrt(),exp(),ln(),log(),sin(),cos(),tan(),asin(),acos(),atan()
     ceil(),floor(),round()
/* ---------------------------------------------------------------------- */
/* ---------------------------------------------------------------------- */


double Variable::eval_tree(Tree *tree, int i)
double Variable::eval_tree(Tree *tree, int i)
@@ -1241,6 +1242,7 @@ int Variable::int_between_brackets(char *str, int i, int &index, int emptyflag)
   return 0 if not a match, 1 if successfully processed
   return 0 if not a match, 1 if successfully processed
   customize by adding a math function in 2 places:
   customize by adding a math function in 2 places:
     sqrt(),exp(),ln(),log(),sin(),cos(),tan(),asin(),acos(),atan()
     sqrt(),exp(),ln(),log(),sin(),cos(),tan(),asin(),acos(),atan()
     ceil(),floor(),round()
------------------------------------------------------------------------- */
------------------------------------------------------------------------- */


int Variable::math_function(char *word, char *contents, Tree **tree,
int Variable::math_function(char *word, char *contents, Tree **tree,
Baidu
map