Changeset 13763
- Timestamp:
- 10/19/12 17:35:57 (12 years ago)
- Location:
- issm/trunk-jpl/src/c/Container
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/Container/DataSet.cpp
r13622 r13763 190 190 int id_offset; 191 191 int offset; 192 int i;193 192 194 193 _assert_(this); … … 215 214 /*vector of objects is already sorted, just allocate the sorted ids and their 216 215 * offsets:*/ 217 int i;218 219 216 if(objects.size()){ 220 217 … … 228 225 229 226 /*Build id_offsets and sorted_ids*/ 230 for(i =0;i<objects.size();i++){227 for(int i=0;i<objects.size();i++){ 231 228 id_offsets[i]=i; 232 229 sorted_ids[i]=objects[i]->Id(); -
issm/trunk-jpl/src/c/Container/Elements.cpp
r13622 r13763 166 166 void Elements::ToResults(Results* results,Parameters* parameters){ 167 167 168 int i;169 170 168 int my_rank; 171 169 int num_procs; -
issm/trunk-jpl/src/c/Container/Observations.cpp
r13267 r13763 40 40 41 41 /*Intermediaries*/ 42 int i, j,maxdepth,level,counter,index;42 int i,maxdepth,level,counter,index; 43 43 int xi,yi; 44 44 IssmPDouble xmin,xmax,ymin,ymax; -
issm/trunk-jpl/src/c/Container/Options.h
r13623 r13763 25 25 template <class OptionType> void Get(OptionType* pvalue,const char* name){ /*{{{*/ 26 26 27 vector<Object*>::iterator object;28 27 GenericOption<OptionType>* genericoption=NULL; 29 28 … … 43 42 template <class OptionType> void Get(OptionType* pvalue,int* pnumel, const char* name){ /*{{{*/ 44 43 45 vector<Object*>::iterator object;46 44 GenericOption<OptionType>* genericoption=NULL; 47 45 … … 62 60 template <class OptionType> void Get(OptionType* pvalue,const char* name,OptionType default_value){ /*{{{*/ 63 61 64 vector<Object*>::iterator object;65 62 GenericOption<OptionType>* genericoption=NULL; 66 63 … … 79 76 template <class OptionType> void Get(OptionType* pvalue,int* pnumel, const char* name,OptionType default_value){ /*{{{*/ 80 77 81 vector<Object*>::iterator object;82 78 GenericOption<OptionType>* genericoption=NULL; 83 79 … … 102 98 template <> inline void Options::Get(char** pvalue,const char* name,char* default_value){ /*{{{*/ 103 99 104 vector<Object*>::iterator object;105 100 GenericOption<char*>* genericoption=NULL; 106 101
Note:
See TracChangeset
for help on using the changeset viewer.