 |
Ice Sheet System Model
4.18
Code documentation
|
Go to the documentation of this file.
8 _printf0_(
"DISTANCETOMASKBOUNDARYUSAGE - compute distance from any point in a mesh to a mask boundary\n");
10 _printf0_(
" This function is a multi-threaded mex file\n");
13 _printf0_(
" [distance]=DistanceToMaskBoundary(x,y,mask)\n");
15 _printf0_(
" x,y,mask: mesh vertices with corresponding mask values. \n");
16 _printf0_(
" distance: distance from x,y to the mask transition between 0 and 1\n");
29 double* distance=NULL;
35 #ifdef _HAVE_MATLAB_MODULES_
45 _error_(
"messing up with AD, is this fonction really used??");
54 xDelete<double>(mask);
55 xDelete<double>(distance);
#define _printf0_(StreamArgs)
void WriteData(IssmPDouble **pmatrix, int *pnel, int *matrix, int M, int N)
int CheckNumMatlabArguments(int nlhs, int NLHS, int nrhs, int NRHS, const char *THISFUNCTION, void(*function)(void))
void FetchData(char **pstring, char *stringin)
void DistanceToMaskBoundaryUsage(void)
#define _error_(StreamArgs)
WRAPPER(DistanceToMaskBoundary_python)