From: ageay Date: Wed, 4 Nov 2009 15:45:21 +0000 (+0000) Subject: Suppression of useless attributes. X-Git-Tag: V5_1_main_FINAL~293 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d4110fcd1dbd452a0d34f4943ff5213793ab259a;p=tools%2Fmedcoupling.git Suppression of useless attributes. --- diff --git a/src/ParaMEDMEM/ParaFIELD.cxx b/src/ParaMEDMEM/ParaFIELD.cxx index d9a9f7e2c..10fc964aa 100644 --- a/src/ParaMEDMEM/ParaFIELD.cxx +++ b/src/ParaMEDMEM/ParaFIELD.cxx @@ -65,9 +65,7 @@ namespace ParaMEDMEM ParaFIELD::ParaFIELD(TypeOfField type, TypeOfTimeDiscretization td, ParaMESH* para_support, const ComponentTopology& component_topology) :_field(0), _component_topology(component_topology),_topology(0), - _support(para_support), - _has_field_ownership(true), - _has_support_ownership(false) + _support(para_support) { if (para_support->isStructured() || (para_support->getTopology()->getProcGroup()->size()==1 && component_topology.nbBlocks()!=1)) { @@ -110,9 +108,7 @@ namespace ParaMEDMEM ParaFIELD::ParaFIELD(MEDCouplingFieldDouble* subdomain_field, const ProcessorGroup& proc_group): _field(subdomain_field), _component_topology(ComponentTopology(_field->getNumberOfComponents())),_topology(0), - _support(), - _has_field_ownership(false), - _has_support_ownership(true) + _support() { if(_field) _field->incrRef(); diff --git a/src/ParaMEDMEM/ParaFIELD.hxx b/src/ParaMEDMEM/ParaFIELD.hxx index 22adbf5c0..3bd12d476 100644 --- a/src/ParaMEDMEM/ParaFIELD.hxx +++ b/src/ParaMEDMEM/ParaFIELD.hxx @@ -56,8 +56,6 @@ namespace ParaMEDMEM Topology* _topology; ParaMESH* _support; - bool _has_field_ownership; - bool _has_support_ownership; }; }