From 9cb3f9ee7e8a24df1f36809c105b0fd9e7115b13 Mon Sep 17 00:00:00 2001 From: ageay Date: Thu, 7 Feb 2013 14:59:54 +0000 Subject: [PATCH] CurveLinearMesh 2 --- src/MEDLoader/MEDFileMesh.cxx | 6 ++++++ 1 file changed, 6 insertions(+) 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 !"; -- 2.39.2