Enhance output for gromacs variant

Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
This commit is contained in:
Rafael Ravedutti
2022-08-16 19:32:49 +02:00
parent 911ba63336
commit 29fa08fa7f
3 changed files with 27 additions and 21 deletions

View File

@@ -24,22 +24,31 @@
#define __UTIL_H_
#ifndef MIN
#define MIN(x,y) ((x)<(y)?(x):(y))
# define MIN(x,y) ((x)<(y)?(x):(y))
#endif
#ifndef MAX
#define MAX(x,y) ((x)>(y)?(x):(y))
# define MAX(x,y) ((x)>(y)?(x):(y))
#endif
#ifndef ABS
#define ABS(a) ((a) >= 0 ? (a) : -(a))
# define ABS(a) ((a) >= 0 ? (a) : -(a))
#endif
#ifdef DEBUG
#define DEBUG_MESSAGE printf
# define DEBUG_MESSAGE printf
#else
#define DEBUG_MESSAGE
# define DEBUG_MESSAGE
#endif
#ifndef MAXLINE
#define MAXLINE 4096
# define MAXLINE 4096
#endif
#if PRECISION == 1
# define PRECISION_STRING "single"
#else
# define PRECISION_STRING "double"
#endif
#define FF_LJ 0