From: vsr Date: Wed, 21 Apr 2010 15:46:10 +0000 (+0000) Subject: 0020825: [CEA] integration of cxx file X-Git-Tag: V5_1_4rc1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ac65d77cc0072c1259167ce7d8410ab5bcb9a51d;p=tools%2Fmedcoupling.git 0020825: [CEA] integration of cxx file --- diff --git a/src/RENUMBER/renumbering.cxx b/src/RENUMBER/renumbering.cxx index 839e2d668..b176fa29f 100644 --- a/src/RENUMBER/renumbering.cxx +++ b/src/RENUMBER/renumbering.cxx @@ -234,6 +234,7 @@ int main (int argc, char** argv) vector iternumber; vector ordernumber; vector types; + int nb_fields_tot=0; for (int ifield = 0; ifield < nb_fields; ifield++) { deque dtit=med_struct.getFieldIteration(f_names[ifield]); @@ -242,7 +243,7 @@ int main (int argc, char** argv) field_names.push_back(f_names[ifield]); iternumber.push_back(iter->dt); ordernumber.push_back(iter->it); - + ++nb_fields_tot; FIELD_* field = med_struct.getField(f_names[ifield],iter->dt,iter->it); if (dynamic_cast*>(field)) types.push_back(1); @@ -326,7 +327,7 @@ int main (int argc, char** argv) cout << "Computing fields "; cout.flush(); bool exist_type; - for(int ifield=0;ifield myField(MED_DRIVER,filename_in,field_names[ifield],iternumber[ifield],ordernumber[ifield]);