Homec4science

remove non-descript class-global variables n and nm1

Authored by Axel Kohlmeyer <akohlmey@gmail.com> on Jun 13 2010, 22:16.

Description

remove non-descript class-global variables n and nm1

per-clas global variables should have descriptive names,
so they are not easily overridden by local variables.
'n' is a bad choice and 'nm1' doesn't need to be global
as it is just n-1. renamed 'n' to 'tablength' and turned
'nm1' into a local 'tlm1' variable.

Details

Committed
Axel Kohlmeyer <akohlmey@gmail.com>Jun 13 2010, 22:16
Pushed
jungeOct 6 2016, 16:49
Parents
rLAMMPSfc1dd1169a2e: remove unused variables and fix comments.
Branches
Unknown
Tags
Unknown

Event Timeline

Axel Kohlmeyer <akohlmey@gmail.com> committed rLAMMPS2d37a8e579f0: remove non-descript class-global variables n and nm1 (authored by Axel Kohlmeyer <akohlmey@gmail.com>).Jun 13 2010, 22:16