From: ageay Date: Tue, 14 Mar 2006 10:10:01 +0000 (+0000) Subject: To be in accordance with MEDMEM::FIELD template class. FullInterlace interlacing... X-Git-Tag: T2_3_2_0a2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=737d338203f97874d9fb589fb25619554a995949;p=modules%2Fmed.git To be in accordance with MEDMEM::FIELD template class. FullInterlace interlacing mode taken by default. --- diff --git a/src/MEDMEM_I/MEDMEM_Med_i.cxx b/src/MEDMEM_I/MEDMEM_Med_i.cxx index 336d8a092..827ba92a2 100644 --- a/src/MEDMEM_I/MEDMEM_Med_i.cxx +++ b/src/MEDMEM_I/MEDMEM_Med_i.cxx @@ -160,7 +160,7 @@ void MED_i::init(SALOMEDS::Study_ptr myStudy,driverTypes driverType, const strin case MED_EN::MED_INT32 : { ((FIELD*)myField)->read(); - FIELDTEMPLATE_I *myFieldIntI = new FIELDTEMPLATE_I((FIELD*)myField); + FIELDTEMPLATE_I *myFieldIntI = new FIELDTEMPLATE_I((FIELD*)myField); myFieldIOR = myFieldIntI->_this(); // myFieldIntI->addInStudy(myStudy,myFieldIOR); break; @@ -169,7 +169,7 @@ void MED_i::init(SALOMEDS::Study_ptr myStudy,driverTypes driverType, const strin case MED_EN::MED_REEL64: { ((FIELD*)myField)->read(); - FIELDTEMPLATE_I *myFieldDoubleI = new FIELDTEMPLATE_I((FIELD*)myField); + FIELDTEMPLATE_I *myFieldDoubleI = new FIELDTEMPLATE_I((FIELD*)myField); myFieldIOR = myFieldDoubleI->_this(); // myFieldDoubleI->addInStudy(myStudy,myFieldIOR); break; @@ -483,7 +483,7 @@ void MED_i::initWithFieldType(SALOMEDS::Study_ptr myStudy,driverTypes driverType case MED_EN::MED_INT32: { ((FIELD*)myField)->read(); - FIELDTEMPLATE_I *myFieldIntI = new FIELDTEMPLATE_I((FIELD*)myField); + FIELDTEMPLATE_I *myFieldIntI = new FIELDTEMPLATE_I((FIELD*)myField); SALOME_MED::FIELDINT_ptr myFieldIntIOR; myFieldIntIOR = myFieldIntI->_this(); @@ -497,7 +497,7 @@ void MED_i::initWithFieldType(SALOMEDS::Study_ptr myStudy,driverTypes driverType case MED_EN::MED_REEL64: { ((FIELD*)myField)->read(); - FIELDTEMPLATE_I *myFieldDoubleI = new FIELDTEMPLATE_I((FIELD*)myField); + FIELDTEMPLATE_I *myFieldDoubleI = new FIELDTEMPLATE_I((FIELD*)myField); SALOME_MED::FIELDDOUBLE_ptr myFieldDoubleIOR; myFieldDoubleIOR = myFieldDoubleI->_this(); diff --git a/src/MEDMEM_I/MEDMEM_Mesh_i.cxx b/src/MEDMEM_I/MEDMEM_Mesh_i.cxx index 96581ec89..0883688a9 100644 --- a/src/MEDMEM_I/MEDMEM_Mesh_i.cxx +++ b/src/MEDMEM_I/MEDMEM_Mesh_i.cxx @@ -1289,7 +1289,7 @@ throw (SALOME::SALOME_Exception) ASSERT(SUPPORT_i::supportMap.find(sup)!=SUPPORT_i::supportMap.end()); const SUPPORT * myCppSupport=SUPPORT_i::supportMap[sup]; ::FIELD*f=_mesh->getVolume( myCppSupport); - FIELDTEMPLATE_I *medf = new FIELDTEMPLATE_I(f); + FIELDTEMPLATE_I *medf = new FIELDTEMPLATE_I(f); return medf->_this(); } catch (MEDEXCEPTION &ex) @@ -1341,7 +1341,7 @@ throw (SALOME::SALOME_Exception) ASSERT(SUPPORT_i::supportMap.find(sup)!=SUPPORT_i::supportMap.end()); const SUPPORT * myCppSupport=SUPPORT_i::supportMap[sup]; ::FIELD*f=_mesh->getArea( myCppSupport); - FIELDTEMPLATE_I *medf = new FIELDTEMPLATE_I(f); + FIELDTEMPLATE_I *medf = new FIELDTEMPLATE_I(f); return medf->_this(); } catch (MEDEXCEPTION &ex) @@ -1367,7 +1367,7 @@ throw (SALOME::SALOME_Exception) ASSERT(SUPPORT_i::supportMap.find(sup)!=SUPPORT_i::supportMap.end()); const SUPPORT * myCppSupport=SUPPORT_i::supportMap[sup]; ::FIELD*f=_mesh->getLength( myCppSupport); - FIELDTEMPLATE_I *medf = new FIELDTEMPLATE_I(f); + FIELDTEMPLATE_I *medf = new FIELDTEMPLATE_I(f); return medf->_this(); } catch (MEDEXCEPTION &ex) @@ -1393,7 +1393,7 @@ throw (SALOME::SALOME_Exception) ASSERT(SUPPORT_i::supportMap.find(sup)!=SUPPORT_i::supportMap.end()); const SUPPORT * myCppSupport=SUPPORT_i::supportMap[sup]; ::FIELD*f=_mesh->getNormal( myCppSupport); - FIELDTEMPLATE_I *medf = new FIELDTEMPLATE_I(f); + FIELDTEMPLATE_I *medf = new FIELDTEMPLATE_I(f); return medf->_this(); } catch (MEDEXCEPTION &ex) @@ -1419,7 +1419,7 @@ throw (SALOME::SALOME_Exception) ASSERT(SUPPORT_i::supportMap.find(sup)!=SUPPORT_i::supportMap.end()); const SUPPORT * myCppSupport=SUPPORT_i::supportMap[sup]; ::FIELD*f=_mesh->getBarycenter( myCppSupport); - FIELDTEMPLATE_I *medf = new FIELDTEMPLATE_I(f); + FIELDTEMPLATE_I *medf = new FIELDTEMPLATE_I(f); return medf->_this(); } catch (MEDEXCEPTION &ex)