Changeset 24680
- Timestamp:
- 04/01/20 09:40:15 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/solutionsequences/solutionsequence_nonlinear.cpp
r24679 r24680 54 54 Reducevectorgtofx(&uf, ug, femmodel->nodes,femmodel->parameters); 55 55 56 / /Update once again the solution to make sure that vx and vxold are similar (for next step in transient or steadystate)56 /*Update once again the solution to make sure that vx and vxold are similar (for next step in transient or steadystate)*/ 57 57 InputUpdateFromConstantx(femmodel,converged,ConvergedEnum); 58 58 InputUpdateFromSolutionx(femmodel,ug); 59 59 60 // allocate the matrices once and reuce them per iteration 61 AllocateSystemMatricesx(&Kff,&Kfs,&df,&pf,femmodel); 60 /*allocate the matrices once and reuse them per iteration*/ 61 if(femmodel->loads->numrifts == 0){ 62 AllocateSystemMatricesx(&Kff,&Kfs,&df,&pf,femmodel); 63 } 62 64 63 65 for(;;){ … … 67 69 delete ug; 68 70 71 if(femmodel->loads->numrifts){ 72 AllocateSystemMatricesx(&Kff,&Kfs,&df,&pf,femmodel); 73 } 69 74 SystemMatricesx(&Kff,&Kfs,&pf,&df,NULL,femmodel, true); 70 75 CreateNodalConstraintsx(&ys,femmodel->nodes);
Note:
See TracChangeset
for help on using the changeset viewer.