Index: sm/trunk/src/mex/BamgMesher/Bamg.cpp
===================================================================
--- /issm/trunk/src/mex/BamgMesher/Bamg.cpp	(revision 5232)
+++ 	(revision )
@@ -1,56 +1,0 @@
-/*\file Bamg.c
- *\brief: bamg module.
- */
-#include "./Bamg.h"
-
-void mexFunction( int nlhs, mxArray* plhs[], int nrhs, const mxArray* prhs[]){
-
-	/*Outputs*/
-	mxArray* bamgmesh_mat=NULL;
-	mxArray* bamggeom_mat=NULL;
-
-	/*diverse: */
-	BamgOpts *bamgopts=NULL;
-	BamgMesh *bamgmesh_in=NULL;
-	BamgGeom *bamggeom_in=NULL;
-	BamgMesh *bamgmesh_out=NULL;
-	BamgGeom *bamggeom_out=NULL;
-
-	/*Boot module: */
-	MODULEBOOT();
-
-	/*checks on arguments on the matlab side: */
-	CheckNumMatlabArguments(nlhs,NLHS,nrhs,NRHS,__FUNCT__,&BamgUsage);
-
-	/*Initialize variables*/
-	bamgopts   = new BamgOpts(BAMGOPTIONS);
-	bamggeom_in= new BamgGeom(BAMGGEOMIN);
-	bamgmesh_in= new BamgMesh(BAMGMESHIN);
-
-	/*Initialize outputs*/
-	bamggeom_out=new BamgGeom();
-	bamgmesh_out=new BamgMesh();
-
-	/*!Generate internal degree of freedom numbers: */
-	Bamgx(bamgmesh_out,bamggeom_out,bamgmesh_in,bamggeom_in,bamgopts);
-
-	/*Generate output Matlab Structures*/
-	bamggeom_out->SetMatlabStructureFields(BAMGGEOMOUT);
-	bamgmesh_out->SetMatlabStructureFields(BAMGMESHOUT);
-
-	/*Free ressources: */
-	delete bamgopts;
-	delete bamggeom_in;
-	delete bamggeom_out;
-	delete bamgmesh_in;
-	delete bamgmesh_out;
-
-	/*end module: */
-	MODULEEND();
-}
-
-void BamgUsage(void){
-	_printf_("\n");
-	_printf_("   usage: [bamgmesh,bamggeom]=%s(bamgmesh,bamggeom,bamgoptions);\n",__FUNCT__);
-	_printf_("\n");
-}
Index: sm/trunk/src/mex/BamgMesher/Bamg.h
===================================================================
--- /issm/trunk/src/mex/BamgMesher/Bamg.h	(revision 5232)
+++ 	(revision )
@@ -1,34 +1,0 @@
-/*
-	Bamg.h
-*/
-
-#ifndef _BAMG_H
-#define _BAMG_H
-
-/* local prototypes: */
-void BamgUsage(void);
-
-#include "../../c/modules/modules.h"
-#include "../../c/Container/Container.h"
-#include "../../c/shared/shared.h"
-
-#undef __FUNCT__ 
-#define __FUNCT__  "Bamg"
-    
-/* serial input macros: */
-#define BAMGMESHIN  (mxArray*)prhs[0]
-#define BAMGGEOMIN  (mxArray*)prhs[1]
-#define BAMGOPTIONS (mxArray*)prhs[2]
-
-/* serial output macros: */
-#define BAMGMESHOUT    (mxArray**)&plhs[0]
-#define BAMGGEOMOUT    (mxArray**)&plhs[1]
-
-/* serial arg counts: */
-#undef NLHS
-#define NLHS  2
-#undef NRHS
-#define NRHS  3
-
-#endif  /* _BAMG_H */
-
Index: /issm/trunk/src/mex/BamgMesher/BamgMesher.cpp
===================================================================
--- /issm/trunk/src/mex/BamgMesher/BamgMesher.cpp	(revision 5233)
+++ /issm/trunk/src/mex/BamgMesher/BamgMesher.cpp	(revision 5233)
@@ -0,0 +1,56 @@
+/*\file Bamg.c
+ *\brief: bamg module.
+ */
+#include "./Bamg.h"
+
+void mexFunction( int nlhs, mxArray* plhs[], int nrhs, const mxArray* prhs[]){
+
+	/*Outputs*/
+	mxArray* bamgmesh_mat=NULL;
+	mxArray* bamggeom_mat=NULL;
+
+	/*diverse: */
+	BamgOpts *bamgopts=NULL;
+	BamgMesh *bamgmesh_in=NULL;
+	BamgGeom *bamggeom_in=NULL;
+	BamgMesh *bamgmesh_out=NULL;
+	BamgGeom *bamggeom_out=NULL;
+
+	/*Boot module: */
+	MODULEBOOT();
+
+	/*checks on arguments on the matlab side: */
+	CheckNumMatlabArguments(nlhs,NLHS,nrhs,NRHS,__FUNCT__,&BamgUsage);
+
+	/*Initialize variables*/
+	bamgopts   = new BamgOpts(BAMGOPTIONS);
+	bamggeom_in= new BamgGeom(BAMGGEOMIN);
+	bamgmesh_in= new BamgMesh(BAMGMESHIN);
+
+	/*Initialize outputs*/
+	bamggeom_out=new BamgGeom();
+	bamgmesh_out=new BamgMesh();
+
+	/*!Generate internal degree of freedom numbers: */
+	Bamgx(bamgmesh_out,bamggeom_out,bamgmesh_in,bamggeom_in,bamgopts);
+
+	/*Generate output Matlab Structures*/
+	bamggeom_out->SetMatlabStructureFields(BAMGGEOMOUT);
+	bamgmesh_out->SetMatlabStructureFields(BAMGMESHOUT);
+
+	/*Free ressources: */
+	delete bamgopts;
+	delete bamggeom_in;
+	delete bamggeom_out;
+	delete bamgmesh_in;
+	delete bamgmesh_out;
+
+	/*end module: */
+	MODULEEND();
+}
+
+void BamgUsage(void){
+	_printf_("\n");
+	_printf_("   usage: [bamgmesh,bamggeom]=%s(bamgmesh,bamggeom,bamgoptions);\n",__FUNCT__);
+	_printf_("\n");
+}
Index: /issm/trunk/src/mex/BamgMesher/BamgMesher.h
===================================================================
--- /issm/trunk/src/mex/BamgMesher/BamgMesher.h	(revision 5233)
+++ /issm/trunk/src/mex/BamgMesher/BamgMesher.h	(revision 5233)
@@ -0,0 +1,34 @@
+/*
+	Bamg.h
+*/
+
+#ifndef _BAMG_H
+#define _BAMG_H
+
+/* local prototypes: */
+void BamgUsage(void);
+
+#include "../../c/modules/modules.h"
+#include "../../c/Container/Container.h"
+#include "../../c/shared/shared.h"
+
+#undef __FUNCT__ 
+#define __FUNCT__  "Bamg"
+    
+/* serial input macros: */
+#define BAMGMESHIN  (mxArray*)prhs[0]
+#define BAMGGEOMIN  (mxArray*)prhs[1]
+#define BAMGOPTIONS (mxArray*)prhs[2]
+
+/* serial output macros: */
+#define BAMGMESHOUT    (mxArray**)&plhs[0]
+#define BAMGGEOMOUT    (mxArray**)&plhs[1]
+
+/* serial arg counts: */
+#undef NLHS
+#define NLHS  2
+#undef NRHS
+#define NRHS  3
+
+#endif  /* _BAMG_H */
+
