From 97b51b94b31826728b0bff71b48e84439655ecb9 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Tue, 8 Jul 2008 15:42:54 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1939 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/variable.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/variable.cpp b/src/variable.cpp index e841a6edeb..f454b8b765 100644 --- a/src/variable.cpp +++ b/src/variable.cpp @@ -1083,6 +1083,7 @@ double Variable::evaluate(char *str, Tree **tree) process an evaulation tree customize by adding a math function: sqrt(),exp(),ln(),log(),sin(),cos(),tan(),asin(),acos(),atan() + ceil(),floor(),round() /* ---------------------------------------------------------------------- */ 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 customize by adding a math function in 2 places: sqrt(),exp(),ln(),log(),sin(),cos(),tan(),asin(),acos(),atan() + ceil(),floor(),round() ------------------------------------------------------------------------- */ int Variable::math_function(char *word, char *contents, Tree **tree,