From: eap Date: Thu, 9 Sep 2010 14:00:30 +0000 (+0000) Subject: Preparation of MEDMEM for SALOME 6x X-Git-Tag: V1_MEDMEM_PreparedForV6~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9011a5a45b2aa61148697d529a599290a41e7861;p=tools%2Fmedcoupling.git Preparation of MEDMEM for SALOME 6x simpier API for writing --- diff --git a/doc/MEDMEM/FIELDcreate.cxx b/doc/MEDMEM/FIELDcreate.cxx index c511feb34..c5b2ce2cd 100644 --- a/doc/MEDMEM/FIELDcreate.cxx +++ b/doc/MEDMEM/FIELDcreate.cxx @@ -34,7 +34,6 @@ int main (int argc, char ** argv) { /* read MESH */ MESH * myMesh = new MESH(MED_DRIVER,MedFile,MeshName) ; - // myMesh->read() ; // we need a support : SUPPORT * mySupport = new SUPPORT(myMesh,"Support on all CELLs",MED_CELL); @@ -83,7 +82,7 @@ int main (int argc, char ** argv) { } // save this new field - int id = myField.addDriver(MED_DRIVER) ; + //myField.write(MED_DRIVER,filename) ; return 0 ; }