
/*
	InterpFromMeshToGrid.h
*/


#ifndef _INTERPFROMMESHTOGRID_H
#define _INTERPFROMMESHTOGRID_H

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

/* serial input macros: */
#define INDEX (mxArray*)prhs[0]
#define X (mxArray*)prhs[1]
#define Y (mxArray*)prhs[2]
#define MESHDATA (mxArray*)prhs[3]
#define XMIN (mxArray*)prhs[4]
#define YMAX (mxArray*)prhs[5]
#define XPOSTING (mxArray*)prhs[6]
#define YPOSTING (mxArray*)prhs[7]
#define NLINES (mxArray*)prhs[8]
#define NCOLS (mxArray*)prhs[9]
#define DEFAULTVALUE (mxArray*)prhs[10]

/* serial output macros: */
#define XM (mxArray**)&plhs[0]
#define YM (mxArray**)&plhs[1]
#define GRIDDATA (mxArray**)&plhs[2]

/* serial arg counts: */
#undef NLHS
#define NLHS  3
#undef NRHS
#define NRHS  11

#endif  /* _INTERPFROMMESHTOGRID_H*/
