/*
	ControlInputGetGradient.h
*/

#ifndef _CONTROLINPUTGETGRADIENT_H
#define _CONTROLINPUTGETGRADIENT_H

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

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

#undef __FUNCT__ 
#define __FUNCT__  "ControlInputGetGradient"

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

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

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

#endif
