Changeset 16560 for issm/trunk/src/c/toolkits/petsc/objects/PetscSolver.cpp
- Timestamp:
- 10/28/13 14:43:03 (11 years ago)
- Location:
- issm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
- Property svn:mergeinfo changed
/issm/trunk-jpl merged: 16138-16453,16455-16554
- Property svn:mergeinfo changed
-
issm/trunk/src
- Property svn:mergeinfo changed
-
issm/trunk/src/c/toolkits/petsc/objects/PetscSolver.cpp
r16137 r16560 170 170 IssmDouble* df_local=NULL; 171 171 int df_local_size; 172 int i;173 172 174 173 int* pressure_indices=NULL; … … 188 187 pressure_num=0; 189 188 velocity_num=0; 190 for(i =0;i<df_local_size;i++){189 for(int i=0;i<df_local_size;i++){ 191 190 if (df_local[i]==PressureEnum)pressure_num++; 192 191 else velocity_num++; … … 199 198 pressure_count=0; 200 199 velocity_count=0; 201 for(i =0;i<df_local_size;i++){200 for(int i=0;i<df_local_size;i++){ 202 201 if (df_local[i]==PressureEnum){ 203 202 pressure_indices[pressure_count]=start+i;
Note:
See TracChangeset
for help on using the changeset viewer.