]> 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:55:54 +0000 (07:55 +0200)
src/Plugins/MEDReader/IO/MEDFileFieldRepresentationTree.cxx

index f905bfda4078ba6c5929b36014fc9ebfad678ef4..433e3c656f81bf9e1237c8fb311c40ba52fcd531 100644 (file)
@@ -421,7 +421,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);