/*!\file InterpFromGridToMesh.h
 * \brief: prototype for Data Interpolation mex module.
 */

#ifndef _InterpFromGridToMesh_H
#define _InterpFromGridToMesh_H

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

#include "../../c/include/globals.h"
#include "../../c/modules/modules.h"
#include "../../c/Container/Container.h"
#include "../../c/shared/shared.h"
#include "../../c/issm-binding.h"

#undef __FUNCT__ 
#define __FUNCT__  "InterpFromGridToMesh"

#undef CLEANUP
#define CLEANUP InterpFromGridToMeshLocalCleanup();


/* serial input macros: */
#define XHANDLE prhs[0]
#define YHANDLE prhs[1]
#define DATAHANDLE prhs[2]
#define XMESHHANDLE prhs[3]
#define YMESHHANDLE prhs[4]
#define DEFAULTHANDLE prhs[5]
#define INTERPENUM prhs[6]

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

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

#endif  /* _INTERPFROMGRIDTOMESH_H */
