Commit Graph

15 Commits

Author SHA1 Message Date
7e6bd892ed apply clang-format 2022-09-10 03:29:32 -04:00
00cd92954c match pow(0,0) = 1.0 behavior in powint() 2022-07-31 18:32:52 -04:00
6439777406 complete documentation of the MathSpecial namespace 2022-04-27 11:59:25 -04:00
d857600d9c start documenting functions in the MathSpecial namespace 2022-04-27 04:46:18 -04:00
09c19a936b update URLs in source code and manual 2021-05-24 14:18:20 -04:00
7fcd449864 apply clang-format to all headers with some exceptions 2021-05-14 19:16:07 -04:00
df7fe4431f make LAMMPS homepage URL and C++ indicator comments consistent 2021-04-22 21:26:07 -04:00
72f68f3d56 consolidate multiple factorial() function definitions into MathSpecial::factorial() 2020-12-17 12:47:04 -05:00
e4071d7f46 replace C-style include files with their C++ equivalents 2018-04-27 18:00:24 -04:00
9f852f5f58 Improve C++-ness, eliminate some macros
- fm_exp moved to math_special (exp2 was already there)
- use std::min/max template instead of macros
- use memory->create for dynamic arrays (still 1-indexed with macro)
- remove _ from function names, adjust method visibility
2017-06-11 16:55:41 +02:00
6328beb7d7 fix double-return warning
this #ifdef adds a return statement
for little endian machines, but leaves
the old one, which the compiler comlains
is unreachable. this commit combines
the conditionals so we can use #else
2017-01-25 15:22:42 -07:00
0da53bb3e3 Fixing compile error
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14889 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-04-26 22:32:03 +00:00
b595eb9d0e git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14840 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-04-18 14:00:30 +00:00
ebe08bf4ca git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9405 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-02-08 16:57:30 +00:00
30246e8dae Adding in Axel's special math functions that give about 2% speed-up on the rhodo problem.
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9311 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2013-01-23 23:13:37 +00:00