Changeset 4557


Ignore:
Timestamp:
07/13/10 14:38:09 (15 years ago)
Author:
Mathieu Morlighem
Message:

moved Vx=Vxold operation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/solvers/solver_diagnostic_nonlinear.cpp

    r4524 r4557  
    6161        GetSolutionFromInputsx(&ug, femmodel->elements, femmodel->nodes, femmodel->vertices, loads, femmodel->materials, femmodel->parameters);
    6262        Reducevectorgtofx(&uf, ug, femmodel->nodesets);
     63
     64        //Update once again the solution to make sure that vx and vxold are similar (for next step in transient or steadystate)
     65        InputUpdateFromSolutionx(femmodel->elements,femmodel->nodes, femmodel->vertices, femmodel->loads, femmodel->materials, femmodel->parameters,ug);
    6366
    6467        for(;;){
     
    125128        }
    126129       
    127         //Now that the solution has converged, update once again the solution to make sure that vx and vxold are similar (for next step in transient or steadystate)
    128         InputUpdateFromSolutionx( femmodel->elements,femmodel->nodes, femmodel->vertices, femmodel->loads, femmodel->materials, femmodel->parameters,ug);
    129130
    130131        /*extrude if we are in 3D: */
Note: See TracChangeset for help on using the changeset viewer.