From: ageay Date: Mon, 25 Mar 2013 14:22:08 +0000 (+0000) Subject: Behaviour modification on meshDim==2 and spaceDim==2 on EDCouplingUMesh::buildOrthogo... X-Git-Tag: V6_main_FINAL~244 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=35dac60ba6809b9530ac2596f171aced604b6ae5;p=tools%2Fmedcoupling.git Behaviour modification on meshDim==2 and spaceDim==2 on EDCouplingUMesh::buildOrthogonalField. --- diff --git a/src/MEDCoupling/MEDCouplingUMesh.cxx b/src/MEDCoupling/MEDCouplingUMesh.cxx index 180f5967a..4fa0e852d 100644 --- a/src/MEDCoupling/MEDCouplingUMesh.cxx +++ b/src/MEDCoupling/MEDCouplingUMesh.cxx @@ -3205,8 +3205,10 @@ MEDCouplingFieldDouble *MEDCouplingUMesh::buildOrthogonalField() const } else { - for(int i=0;i isAbs=getMeasureField(false); + const double *isAbsPtr=isAbs->getArray()->begin(); + for(int i=0;i0.?1.:-1.; } } } else//meshdimension==1