From 5a9442374d7fc343ff725a23e2b52aded8073fff Mon Sep 17 00:00:00 2001 From: apo Date: Tue, 20 Sep 2005 13:16:02 +0000 Subject: [PATCH] To introduce mapping of mesh elements --- src/VISU_I/VISU_CorbaMedConvertor.cxx | 3 +++ 1 file changed, 3 insertions(+) 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(); -- 2.39.2