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

#ifndef _INTERPFROMMESH2D_H
#define _INTERPFROMMESH2D_H

/* local prototypes: */
void InterpFromMesh2dUsage(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__  "InterpFromMesh2d"

#undef CLEANUP
#define CLEANUP InterpFromMesh2dLocalCleanup();

/* serial input macros: */
#define INDEXHANDLE prhs[0]
#define XHANDLE prhs[1]
#define YHANDLE prhs[2]
#define DATAHANDLE prhs[3]
#define XPRIMEHANDLE prhs[4]
#define YPRIMEHANDLE prhs[5]
#define DEFAULTHANDLE prhs[6]
#define FILENAME prhs[7]

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

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

#endif  /* _INTERPFROMMESH2D_H */
