Gromacs  2016.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros
arraysize.h File Reference

Description

Provides asize() macro for calculating the static size of an array.

Macros

#define asize(a)   ((int)(sizeof(a)/sizeof((a)[0])))
 Calculates the static number of elements in an array.