Changeset 11695 for issm/trunk-jpl/src/c/modules/Solverx/Solverx.cpp
- Timestamp:
- 03/13/12 19:59:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/c/modules/Solverx/Solverx.cpp ¶
r11687 r11695 20 20 uf=new Vector(); 21 21 22 /*Intermediary: */ 23 int analysis_type; 24 22 25 #ifdef _HAVE_PETSC_ 23 26 Vec uf0_vector = NULL; … … 26 29 if(df) df_vector = df->vector; 27 30 28 SolverxPetsc(&uf->vector,Kff->matrix,pf->vector,uf0_vector,df_vector,parameters); 31 /*In serial mode, the Petsc Options database has not been initialized properly: */ 32 #ifdef _SERIAL_ 33 parameters->FindParam(&analysis_type,AnalysisTypeEnum); 34 PetscOptionsFromAnalysis(parameters,analysis_type); 35 #endif 36 37 SolverxPetsc(&uf->vector, Kff->matrix, pf->vector, uf0_vector, df->vector, parameters); 29 38 VecGetSize(uf->vector,&uf->M); 30 39 #else
Note:
See TracChangeset
for help on using the changeset viewer.