From: apo Date: Tue, 20 Sep 2005 13:16:02 +0000 (+0000) Subject: To introduce mapping of mesh elements X-Git-Tag: BR-D5-38-2003_D2005-12-10~176 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5a9442374d7fc343ff725a23e2b52aded8073fff;p=modules%2Fvisu.git To introduce mapping of mesh elements --- diff --git a/src/VISU_I/VISU_CorbaMedConvertor.cxx b/src/VISU_I/VISU_CorbaMedConvertor.cxx index 645c5059..94e84d65 100644 --- a/src/VISU_I/VISU_CorbaMedConvertor.cxx +++ b/src/VISU_I/VISU_CorbaMedConvertor.cxx @@ -330,6 +330,7 @@ VISU_MEDFieldConvertor::Build() CORBA::String_var aFieldName = myField->getName(); PCMesh aMesh = myMeshMap[aMeshName.in()](new TCMesh()); + aMesh->myNamedPointCoords(new TNamedPointCoords()); aMesh->myNbPoints = aMEDMesh->getNumberOfNodes(); aMesh->myDim = aMEDMesh->getSpaceDimension(); aMesh->myName = aMeshName.in(); @@ -518,6 +519,7 @@ VISU_MEDConvertor::Build(SALOME_MED::MED_ptr theMED) PCMesh aMesh = myMeshMap[aMeshName.in()](new TCMesh()); SALOME_MED::MESH_var aMEDMesh = boost::get<0>(aMeshByNameRet); + aMesh->myNamedPointCoords(new TNamedPointCoords()); aMesh->myNbPoints = aMEDMesh->getNumberOfNodes(); aMesh->myDim = aMEDMesh->getSpaceDimension(); aMesh->myName = aMeshName.in(); @@ -799,6 +801,7 @@ VISU_MEDConvertor::Build(SALOMEDS::ChildIterator_ptr theTimeStampIterator) CORBA::String_var aFieldName = aMEDField->getName(); PCMesh aMesh = myMeshMap[aMeshName.in()](new TCMesh()); + aMesh->myNamedPointCoords(new TNamedPointCoords()); aMesh->myNbPoints = aMEDMesh->getNumberOfNodes(); aMesh->myDim = aMEDMesh->getSpaceDimension(); aMesh->myName = aMeshName.in();