From c5f25cb719e524fb5103a26e6f6d93e50a7b6e9d Mon Sep 17 00:00:00 2001 From: cvw Date: Mon, 19 Mar 2012 12:37:48 +0000 Subject: [PATCH] *** empty log message *** --- src/MEDPartitioner/MEDPARTITIONER_JointFinder.cxx | 5 +++-- .../MEDPARTITIONER_MeshCollectionDriver.cxx | 9 +++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/MEDPartitioner/MEDPARTITIONER_JointFinder.cxx b/src/MEDPartitioner/MEDPARTITIONER_JointFinder.cxx index 6a6309972..9f513ce2d 100644 --- a/src/MEDPartitioner/MEDPARTITIONER_JointFinder.cxx +++ b/src/MEDPartitioner/MEDPARTITIONER_JointFinder.cxx @@ -52,8 +52,8 @@ void MEDPARTITIONER::JointFinder::findCommonDistantNodes() std::vector bbxi(nbdomain,(double*) 0); std::vector rev(nbdomain,(ParaMEDMEM::DataArrayInt*) 0); std::vector revIndx(nbdomain,(ParaMEDMEM::DataArrayInt*) 0); - int meshDim; - int spaceDim; + int meshDim=-1; + int spaceDim=-1; //init rev and revIndx and bbtree for my domain (of me:proc n) for (int mydomain=0; mydomainisMyDomain(itarget)) { //receiving data from source proc diff --git a/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionDriver.cxx b/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionDriver.cxx index 41c66d57d..bc217001b 100644 --- a/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionDriver.cxx +++ b/src/MEDPartitioner/MEDPARTITIONER_MeshCollectionDriver.cxx @@ -126,6 +126,9 @@ void MeshCollectionDriver::readSubdomain(std::vector& cellglobal, //reading families groups ParaMEDMEM::DataArrayInt* faceIds(mfm->getFamilyFieldAtLevel(-1)->deepCpy()); (_collection->getFaceFamilyIds())[idomain]=faceIds; + if (MyGlobals::_Verbose>10) + std::cout << "proc " << MyGlobals::_Rank << " : WITH Faces\n"; + } else { @@ -138,7 +141,7 @@ void MeshCollectionDriver::readSubdomain(std::vector& cellglobal, ParaMEDMEM::DataArrayInt* empty=ParaMEDMEM::DataArrayInt::New(); (_collection->getFaceFamilyIds())[idomain]=empty; if (MyGlobals::_Verbose>10) - std::cout << "proc " << MyGlobals::_Rank << " : NO LevelM1Mesh (Faces)\n"; + std::cout << "proc " << MyGlobals::_Rank << " : WITHOUT Faces\n"; } //reading groups @@ -189,6 +192,8 @@ void MeshCollectionDriver::readSubdomain(int idomain) //reading families groups ParaMEDMEM::DataArrayInt* faceIds(mfm->getFamilyFieldAtLevel(-1)->deepCpy()); (_collection->getFaceFamilyIds())[idomain]=faceIds; + if (MyGlobals::_Verbose>10) + std::cout << "proc " << MyGlobals::_Rank << " : WITH Faces\n"; } else { @@ -201,7 +206,7 @@ void MeshCollectionDriver::readSubdomain(int idomain) ParaMEDMEM::DataArrayInt* empty=ParaMEDMEM::DataArrayInt::New(); (_collection->getFaceFamilyIds())[idomain]=empty; if (MyGlobals::_Verbose>10) - std::cout << "proc " << MyGlobals::_Rank << " : NO LevelM1Mesh (Faces)\n"; + std::cout << "proc " << MyGlobals::_Rank << " : WITHOUT Faces\n"; } //reading groups -- 2.39.2