From: ageay Date: Thu, 7 Feb 2013 14:59:54 +0000 (+0000) Subject: CurveLinearMesh 2 X-Git-Tag: V6_main_FINAL~378 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9cb3f9ee7e8a24df1f36809c105b0fd9e7115b13;p=tools%2Fmedcoupling.git CurveLinearMesh 2 --- diff --git a/src/MEDLoader/MEDFileMesh.cxx b/src/MEDLoader/MEDFileMesh.cxx index e2172ccf7..987e61bd0 100644 --- a/src/MEDLoader/MEDFileMesh.cxx +++ b/src/MEDLoader/MEDFileMesh.cxx @@ -80,6 +80,12 @@ MEDFileMesh *MEDFileMesh::New(const char *fileName) throw(INTERP_KERNEL::Excepti ret->loadCMeshFromFile(fid,ms.front().c_str(),dt,it); return (MEDFileCMesh *)ret.retn(); } + case CURVE_LINEAR: + { + MEDCouplingAutoRefCountObjectPtr ret=MEDFileCurveLinearMesh::New(); + ret->loadCLMeshFromFile(fid,ms.front().c_str(),dt,it); + return (MEDFileCMesh *)ret.retn(); + } default: { std::ostringstream oss; oss << "MEDFileMesh::New : MED file exists and has mesh '" << ms.front() << "' exists but unsupported type yet !";