https://github.com/teuben/nemo
Raw File
Tip revision: 27d447ea1e0c092be8e577a3569a022c11e2c3bc authored by Peter Teuben on 07 April 2021, 03:16:34 UTC
dynamic loader should be simpler (i5-11x?) clang
Tip revision: 27d447e
matdef.h
/* MATDEF.H	
 *		defines how matrices are stored in image(5NEMO) programs
 *		This include file is automatically included by image.h
 *		and perhaps by a few others, e.g. contour.c
 *
 *              The use of Karma-style intelligent array indexing is
 *              also defined here.
 *
 *	#define CDEF			c-definition        = row major
 *	#define FORDEF			fortran-definition  = column major
 *
 *	The default is CDEF
 * 
 *   C:  data[row][col]     row major,     row after row
 *   F:  data(row,col)      column major,  column after column
 *
 *
 *      #define USE_IARRAY
 */


#define CDEF 

#if !defined(FORDEF) && !defined(CDEF)
# define FORDEF
#endif

// #define USE_IARRAY
back to top