Changeset 2218


Ignore:
Timestamp:
09/11/09 15:05:48 (15 years ago)
Author:
Mathieu Morlighem
Message:

removed steady state computation from objective functionC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/solutions/cielo/objectivefunctionC.m

    r2027 r2218  
    1717
    1818%Run diagnostic with updated parameters.
    19 if ~m.parameters.control_steady;
    20         %do a simple diagnostic, with the current temperature profile, do not look for steady state.
    21         u_g=diagnostic_core_nonlinear(m,inputs,analysis_type,sub_analysis_type);
    22 else
    23         %do a full thermal mechanical steady state converged computation, much slower!
    24         results=steadystate_core(models,inputs); u_g=results.u_g;
    25 
    26         %u_g ships with 3 or 4 dofs, we only want the horizontal ones!
    27         if ~models.dh.parameters.isstokes,
    28                 u_g=u_g(dofsetgen([1,2],3,m.parameters.numberofnodes*3));
    29         end
    30 end
     19u_g=diagnostic_core_nonlinear(m,inputs,analysis_type,sub_analysis_type);
    3120
    3221%add velocity to inputs.
Note: See TracChangeset for help on using the changeset viewer.