]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
EDF12599 : Localization of points generated by ELNOpoints filter is now equal to...
authorAnthony Geay <anthony.geay@edf.fr>
Thu, 12 May 2016 05:54:51 +0000 (07:54 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Thu, 12 May 2016 05:54:51 +0000 (07:54 +0200)
src/Plugins/MEDReader/IO/MEDFileFieldRepresentationTree.cxx

index dbae71be8cc5026703b4fe773bb9c65a786a6a40..237228dbf18775ffcd5ee711000ea76c638b3191 100644 (file)
@@ -384,7 +384,7 @@ void MEDFileFieldRepresentationLeavesArrays::appendFields(const MEDTimeReq *tr,
                   vtkQuadratureSchemeDefinition *def(vtkQuadratureSchemeDefinition::New());
                   double *shape(new double[nbGaussPt*nbGaussPt]);
                   std::size_t dummy;
-                  const double *gsCoords(MEDCouplingFieldDiscretizationGaussNE::GetLocsFromGeometricType(ct,dummy));
+                  const double *gsCoords(MEDCouplingFieldDiscretizationGaussNE::GetRefCoordsFromGeometricType(ct,dummy));//GetLocsFromGeometricType
                   const double *refCoords(MEDCouplingFieldDiscretizationGaussNE::GetRefCoordsFromGeometricType(ct,dummy));
                   const double *weights(MEDCouplingFieldDiscretizationGaussNE::GetWeightArrayFromGeometricType(ct,dummy));
                   std::vector<double> gsCoords2(gsCoords,gsCoords+nbGaussPt*dim),refCoords2(refCoords,refCoords+nbGaussPt*dim);