Geant4 Cross Reference |
1 // Copyright (C) 2010, Guy Barrand. All rights 1 // Copyright (C) 2010, Guy Barrand. All rights reserved. 2 // See the file tools.license for terms. 2 // See the file tools.license for terms. 3 3 4 #ifndef tools_smath 4 #ifndef tools_smath 5 #define tools_smath 5 #define tools_smath 6 6 7 #include <string> 7 #include <string> 8 #include "S_STRING" 8 #include "S_STRING" 9 9 10 namespace tools { 10 namespace tools { 11 11 12 TOOLS_GLOBAL_STRING(sqrt) 12 TOOLS_GLOBAL_STRING(sqrt) 13 TOOLS_GLOBAL_STRING(cos) 13 TOOLS_GLOBAL_STRING(cos) 14 TOOLS_GLOBAL_STRING(pow) 14 TOOLS_GLOBAL_STRING(pow) 15 TOOLS_GLOBAL_STRING(atan2) 15 TOOLS_GLOBAL_STRING(atan2) 16 TOOLS_GLOBAL_STRING(mod) 16 TOOLS_GLOBAL_STRING(mod) 17 TOOLS_GLOBAL_STRING(psi) 17 TOOLS_GLOBAL_STRING(psi) 18 TOOLS_GLOBAL_STRING(gamma) 18 TOOLS_GLOBAL_STRING(gamma) 19 TOOLS_GLOBAL_STRING(mu) 19 TOOLS_GLOBAL_STRING(mu) 20 TOOLS_GLOBAL_STRING(upper_delta) 20 TOOLS_GLOBAL_STRING(upper_delta) 21 TOOLS_GLOBAL_STRING(h_bar) 21 TOOLS_GLOBAL_STRING(h_bar) 22 22 23 inline const std::string& s_partial_derivative 23 inline const std::string& s_partial_derivative() { 24 static const std::string s_v("partiald"); 24 static const std::string s_v("partiald"); 25 return s_v; 25 return s_v; 26 } 26 } 27 27 28 } 28 } 29 29 30 #endif 30 #endif 31 31 32 32