LIGGGHTS WWW Site - LAMMPS WWW Site - LIGGGHTS Documentation - LIGGGHTS Commands

# LIGGGHTS 2.X Coding Manual

## Introduction:

This is a short coding manual for LIGGGHTS 2.X

## A short list of guidelines

- class data members should be denoted with a _ (like x_)
- inline access functions should be used to get access to x_, like x()
- class data members , both x_particle_ and xParticle_ are allowed
- template params should be written in LARGE_CAPS
- file names like fix_mesh_gran.cpp, mesh_mover.h
- fix style fix move/mesh/gran is in file fix_move_mesh_gran.cpp/h
- header guard in file fix_foo_model.h like LMP_FIX_FOO_MODEL_H
- coding format should be ANSI
- for fixes, use error->fix_error to throw error messages in constructors, this enhances object orientation

  ## Files which are especially