Homec4science

Improve C++-ness, eliminate some macros

Authored by Sebastian Hütter <sebastian.huetter@ovgu.de> on Jun 11 2017, 16:55.

Description

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

Details

Committed
Sebastian Hütter <sebastian.huetter@ovgu.de>Jun 11 2017, 16:55
Pushed
jungeOct 19 2017, 09:53
Parents
rLAMMPSfea28d802823: ensure that allocatable_double_2d types are initialized
Branches
Unknown
Tags
Unknown

Event Timeline

Sebastian Hütter <sebastian.huetter@ovgu.de> committed rLAMMPS9f852f5f5863: Improve C++-ness, eliminate some macros (authored by Sebastian Hütter <sebastian.huetter@ovgu.de>).Jun 11 2017, 16:55