/*
	Gradj.h
*/

#ifndef _GRADJ_H
#define _GRADJ_H

/* local prototypes: */
void GradjUsage(void);

#include "../../c/modules/modules.h"
#include "../../c/Container/Container.h"
#include "../../c/shared/shared.h"
#include "../../c/EnumDefinitions/EnumDefinitions.h"

#undef __FUNCT__ 
#define __FUNCT__  "Gradj"

/* serial input macros: */
#define ELEMENTS (mxArray*)prhs[0]
#define NODES (mxArray*)prhs[1]
#define VERTICES (mxArray*)prhs[2]
#define LOADS (mxArray*)prhs[3]
#define MATERIALS (mxArray*)prhs[4]
#define PARAMETERS (mxArray*)prhs[5]

/* serial output macros: */
#define GRADG (mxArray**)&plhs[0]
#define NORMLIST (mxArray**)&plhs[1]

/* serial arg counts: */
#undef NLHS
#define NLHS  2
#undef NRHS
#define NRHS  6

#endif  /* _GRADJ_H */
