Go to the source code of this file.
◆ BamgConvertMeshUsage()
void BamgConvertMeshUsage |
( |
void |
| ) |
|
Definition at line 6 of file BamgConvertMesh.cpp.
7 _printf0_(
"BAMGCONVERTMESH - convert [x y index] to a bamg geom and mesh geom");
10 _printf0_(
" [bamggeom bamgmesh]=BamgConvertMesh(index,x,y)\n");
12 _printf0_(
" x,y: coordinates of the nodes\n");
◆ WRAPPER()
WRAPPER |
( |
BamgConvertMesh_python |
| ) |
|
Definition at line 15 of file BamgConvertMesh.cpp.
21 int nods,nels,test1,test2;
38 FetchData(&index,&nels,&test1,INDEXHANDLE);
43 if(nels<0)
_error_(
"Number of elements must be positive, check index number of lines");
44 if(nods<0)
_error_(
"Number of nods must be positive, check x and y sizes");
45 if(test1!=3)
_error_(
"index should have 3 columns");
46 if(test2!=nods)
_error_(
"x and y do not have the same length");
int BamgConvertMeshx(BamgMesh *bamgmesh, BamgGeom *bamggeom, int *index, double *x, double *y, int nods, int nels)