- Timestamp:
- 07/23/13 14:23:07 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/toolkits/petsc/objects/PetscSolver.cpp
r14960 r15564 52 52 #endif 53 53 54 /* Stokes: */54 /*FS: */ 55 55 IS isv=NULL; 56 56 IS isp=NULL; … … 118 118 } 119 119 120 /* Stokes: */121 if (solver_type== StokesSolverEnum){120 /*FS: */ 121 if (solver_type==FSSolverEnum){ 122 122 /*Make indices out of doftypes: */ 123 if(!df)_error_("need doftypes for Stokessolver!\n");124 DofTypesToIndexSet(&isv,&isp,df, StokesSolverEnum);123 if(!df)_error_("need doftypes for FS solver!\n"); 124 DofTypesToIndexSet(&isv,&isp,df,FSSolverEnum); 125 125 126 126 /*Set field splits: */ … … 179 179 int velocity_count=0; 180 180 181 if(typeenum== StokesSolverEnum){181 if(typeenum==FSSolverEnum){ 182 182 183 183 /*Ok, recover doftypes vector values and indices: */
Note:
See TracChangeset
for help on using the changeset viewer.