Index: /issm/trunk/src/c/Bamgx/Bamgx.cpp
===================================================================
--- /issm/trunk/src/c/Bamgx/Bamgx.cpp	(revision 2804)
+++ /issm/trunk/src/c/Bamgx/Bamgx.cpp	(revision 2805)
@@ -22,5 +22,4 @@
 #include <iomanip>
 #include <fstream>
-#include "Meshio.h"
 #include "Mesh2.h"
 #include "QuadTree.h"
Index: /issm/trunk/src/c/Bamgx/Mesh2.cpp
===================================================================
--- /issm/trunk/src/c/Bamgx/Mesh2.cpp	(revision 2804)
+++ /issm/trunk/src/c/Bamgx/Mesh2.cpp	(revision 2805)
@@ -4013,5 +4013,5 @@
 void Triangles::MakeQuadTree()
 {  
-	long int verbosity=9;
+	long int verbosity=0;
 	if(verbosity>8)
 		cout << "      MakeQuadTree" << endl;
Index: /issm/trunk/src/c/Bamgx/Mesh2.h
===================================================================
--- /issm/trunk/src/c/Bamgx/Mesh2.h	(revision 2804)
+++ /issm/trunk/src/c/Bamgx/Mesh2.h	(revision 2805)
@@ -31,4 +31,13 @@
 #include "../objects/objects.h"
 
+//From MeshIo
+#include <cstdio>
+#include <iostream>
+#include <fstream>
+#include <cstring>
+#include <cstdlib>
+#include <cctype>
+using namespace std;
+
 #include <stdlib.h>
 #include <math.h>
@@ -55,7 +64,4 @@
 const  double Pi =  3.14159265358979323846264338328;
 const  float fPi =  3.14159265358979323846264338328;
-
-
-class MeshIstream;
 
 extern int hinterpole;
Index: /issm/trunk/src/c/Bamgx/MeshQuad.cpp
===================================================================
--- /issm/trunk/src/c/Bamgx/MeshQuad.cpp	(revision 2804)
+++ /issm/trunk/src/c/Bamgx/MeshQuad.cpp	(revision 2805)
@@ -44,5 +44,4 @@
 #include <time.h>
 
-#include "Meshio.h"
 #include "Mesh2.h"
 #include "QuadTree.h"
Index: /issm/trunk/src/c/Bamgx/MeshRead.cpp
===================================================================
--- /issm/trunk/src/c/Bamgx/MeshRead.cpp	(revision 2804)
+++ /issm/trunk/src/c/Bamgx/MeshRead.cpp	(revision 2805)
@@ -22,5 +22,4 @@
 #include <time.h>
 
-#include "Meshio.h"
 #include "Mesh2.h"
 #include "QuadTree.h"
Index: /issm/trunk/src/c/Bamgx/MeshWrite.cpp
===================================================================
--- /issm/trunk/src/c/Bamgx/MeshWrite.cpp	(revision 2804)
+++ /issm/trunk/src/c/Bamgx/MeshWrite.cpp	(revision 2805)
@@ -7,5 +7,4 @@
 #include <cmath>
 #include <ctime>
-#include "Meshio.h"
 #include "Mesh2.h"
 #include "QuadTree.h"
Index: sm/trunk/src/c/Bamgx/Meshio.cpp
===================================================================
--- /issm/trunk/src/c/Bamgx/Meshio.cpp	(revision 2804)
+++ 	(revision )
@@ -1,140 +1,0 @@
-// -*- Mode : c++ -*-
-//
-// SUMMARY  :      
-// USAGE    :        
-// ORG      : 
-// AUTHOR   : Frederic Hecht
-// E-MAIL   : hecht@ann.jussieu.fr
-//
-
-/*
- 
- This file is part of Freefem++
- 
- Freefem++ is free software; you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License as published by
- the Free Software Foundation; either version 2.1 of the License, or
- (at your option) any later version.
- 
- Freefem++  is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- GNU Lesser General Public License for more details.
- 
- You should have received a copy of the GNU Lesser General Public License
- along with Freefem++; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- */
-
-#include "meshtype.h"
-#include "Meshio.h"
-namespace bamg {
-
-	long int verbosity=2;
-
-void (*MeshIstreamErrorHandler)(ios & ) =0;
-///////////////////////////////////////////////////////////
- void WriteStr(ostream & out,char * str)
-{ 
-  int i=0;
-  char c;
-  out << '"' ;
-  while (i++,c=*str++) {
-   if (i==70) 
-      cout << " //\n",i=0;
-   if (c == '"') out << "\"\"" ;
-   else out << c ;}
- out << '"' ;
-}
-
-void MeshIstream::ShowIoErr(int s) {
-  LineError = 1;
-  if (CurrentFile)
-    cerr << " In  file " <<  CurrentFile ;
-  cerr << ", Erreur Lecture "  << s << 
-    ", good="  << (s & ios::goodbit) <<
-    ", bad=" << (s & ios::badbit) <<
-    ", fail=" << (s & ios::failbit) <<
-    ", eof=" << (s & ios::eofbit) << " Line " << LineNumber <<
-    endl;
-  if(!in.eof()) 
-    {
-      in.clear(ios::goodbit);
-      int i=0;
-      char c;
-      cerr << " the next character :" ;
-      while (i++<80 && in.get(c) && (c != '\n' || i < 30 ))
-	cerr.put(c);
-      cerr << endl; 
-    }
-  if (MeshIstreamErrorHandler)
-    MeshIstreamErrorHandler(in);
-  else 
-   { 
-    in.clear(ios::failbit);
-   }
-}
-int  MeshIstream::IsString(const char* s)
-{ 
-  int n=0;
-  char c;
-  const char * ss = s;
-  while (in.get(c) && c ==' ') n++; // eat whitespace 
-  if (in.good())
-    while ( *ss && c == *ss && in.get(c) )
-      ss++; 
-
-  if (*ss) { // no 
-    if (verbosity>9) 
-      cout << "IsString: not " << s << " " << n  << "  putback " << ss-s << " :" << c  ;
-    if (in.good())
-      in.putback(c),ss--;
-    while(ss-s>0)
-      {
-	cout << *ss ;
-	in.putback(*ss--);
-      };
-    if (verbosity>9) 
-      cout << ":"<< endl;
-    return 0;}
-  else return 1;
-}
-
- char * MeshIstream::ReadStr()
-{ 
-  static char buf[1025];
-  int  instr=0,k=0;
-  char * b=buf, bb=0, *bend=buf+1023;
-  
-  for (b=buf;b<bend &&  in.get(*b);instr && b++)
-    {
-      int kold = k;
-      if(isspace(*b))
-	{
-	  if (*b == '\n') LineNumber++;
-	  if (instr && !bb) break;
-	}
-      else if (*b == bb) 
-	{
-	  if(++k%2) b--;
-	}
-      else if( !instr) 
-	{
-	  instr =1;
-	  if  ((*b == '"') ||  (*b == '\'' ) )
-	    bb=*b--,k=0;
-	}
-      else
-	instr =1;
-      
-      if( k%2 && kold==k ) // even and fin
-	break;
-    }
-  *b=0;
-  in.clear(ios::goodbit);
-  //  cout << " l = " << b-buf << " " ;
-  char * r = new char [b-buf+1];
-  strcpy(r,buf);
-  return r ;  
-}
-}// end of namespace bamg 
Index: sm/trunk/src/c/Bamgx/Meshio.h
===================================================================
--- /issm/trunk/src/c/Bamgx/Meshio.h	(revision 2804)
+++ 	(revision )
@@ -1,115 +1,0 @@
-// -*- Mode : c++ -*-
-//
-// SUMMARY  :      
-// USAGE    :        
-// ORG      : 
-// AUTHOR   : Frederic Hecht
-// E-MAIL   : hecht@ann.jussieu.fr
-//
-
-/*
- 
- This file is part of Freefem++
- 
- Freefem++ is free software; you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License as published by
- the Free Software Foundation; either version 2.1 of the License, or
- (at your option) any later version.
- 
- Freefem++  is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- GNU Lesser General Public License for more details.
- 
- You should have received a copy of the GNU Lesser General Public License
- along with Freefem++; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- */
-
-#include <cstdio>
-#include <iostream>
-#include <fstream>
-#include "error.hpp"
-#include <cstring>
-#include <cstdlib>
-#include <cctype>
-using namespace std;
-//  PB compilo HP aCC 
-#if defined(__hpux) || defined(__SUNPRO_CC) 
-#define IOS_OPENMODE int
-#else
-#define IOS_OPENMODE ios::openmode
-#endif
-
-namespace bamg {
-
-
-extern  void (*MeshIstreamErrorHandler)(ios & );
-
-void WriteStr(ostream & out,char * str);
-
-union Char4orLong {  char c[4];    long l;} ;
-
-class  MeshIstream {
-public:
-  istream  & in ;
-  const char * CurrentFile;
-  //  ifstream  fin;
-  int LineNumber,LineError,opened;
-
-
-  istream & cm ()//  mange les blancs et les commentaire 
-  { 
-    char c;
-    int cmm=0;
-    while ( in.get(c) &&  
-	    ( isspace(c) ?
-	      (( ( c=='\n'|| c==char(12) || c==char(15)) && (LineNumber++,cmm=0)),1) 
-	      : (cmm || (c=='#' && (cmm=1) )) ) 
-	    ) ((void ) 0);
-	   if (in.good()) in.putback(c);
-    return in;
-  }
-
-  // void rewind(){ fin.clear();fin.seekg(0);}
-    
-  void eol()// go to end of line
-  { 
-    char c;
-    while ( in.get(c) &&  ( c!='\n') && ( c!='\r')) (void) 0;
-  }
-  void ShowIoErr(int );
-  MeshIstream  & err () 
-  { 
-    if ( ! in.good() ) ShowIoErr(in.rdstate());
-    return *this;
-  }
-  //  MeshIstream(istream & i): in(i),CurrentFile(0),LineNumber(1),LineError(0) {}
-
-  MeshIstream(const char * file_name)
-    : in(*new ifstream(file_name)),CurrentFile(file_name), LineNumber(1),LineError(0) 
-  {    if (!in) {cerr << " Error Opening file " << file_name,CurrentFile=0;ShowIoErr(1);}
-  err();  }
-
-  /*  //  void close()
-  {
-      if (CurrentFile) {
-        if(verbosity>5) cout << "    Closefile: " <<  CurrentFile << endl;
-	CurrentFile=0;in.close();}
-  } */
-  int eof(){return in.eof();}
-  ~MeshIstream(){delete &in;}
-  int IsString(const char* s);
-  char * ReadStr();
-  MeshIstream&   operator>>(short& i)   { cm() >> i ;return err();}
-  MeshIstream&   operator>>(long& i)   { cm() >> i ;return err();}
-  MeshIstream&   operator>>(int& i)   { cm() >> i ;return err();}
-  MeshIstream&   operator>>(float& i)   { cm() >> i ;return err();}
-  MeshIstream&   operator>>(double& i)   { cm() >> i ;return err();}
-  MeshIstream&   operator>>(char * & i ) { i=ReadStr();return err();}
-
-};
-
-/// ---------- inline -------------------------
-
-}
Index: /issm/trunk/src/c/Bamgx/Metric.cpp
===================================================================
--- /issm/trunk/src/c/Bamgx/Metric.cpp	(revision 2804)
+++ /issm/trunk/src/c/Bamgx/Metric.cpp	(revision 2805)
@@ -28,5 +28,4 @@
 
 #include <stdio.h>
-#include "Meshio.h"
 #include "Mesh2.h"
 
Index: /issm/trunk/src/c/Bamgx/QuadTree.cpp
===================================================================
--- /issm/trunk/src/c/Bamgx/QuadTree.cpp	(revision 2804)
+++ /issm/trunk/src/c/Bamgx/QuadTree.cpp	(revision 2805)
@@ -32,5 +32,4 @@
 #include <stdlib.h>
 
-#include "Meshio.h"
 #include "Mesh2.h"
 #include "QuadTree.h"
Index: /issm/trunk/src/c/Makefile.am
===================================================================
--- /issm/trunk/src/c/Makefile.am	(revision 2804)
+++ /issm/trunk/src/c/Makefile.am	(revision 2805)
@@ -323,6 +323,4 @@
 					./Bamgx/Mesh2.h \
 					./Bamgx/MeshGeom.cpp \
-					./Bamgx/Meshio.cpp \
-					./Bamgx/Meshio.h \
 					./Bamgx/MeshQuad.cpp \
 					./Bamgx/MeshRead.cpp \
@@ -665,6 +663,4 @@
 					./Bamgx/Mesh2.h \
 					./Bamgx/MeshGeom.cpp \
-					./Bamgx/Meshio.cpp \
-					./Bamgx/Meshio.h \
 					./Bamgx/MeshQuad.cpp \
 					./Bamgx/MeshRead.cpp \
