From ac65d77cc0072c1259167ce7d8410ab5bcb9a51d Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 21 Apr 2010 15:46:10 +0000 Subject: [PATCH] 0020825: [CEA] integration of cxx file --- src/RENUMBER/renumbering.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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]); -- 2.39.2