Changeset 4579


Ignore:
Timestamp:
07/14/10 08:13:34 (15 years ago)
Author:
seroussi
Message:

more type in testsgetfields

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/utils/Nightly/testsgetfields.m

    r4569 r4579  
    112112                vel=zeros(md.numberofgrids,1);
    113113                vel(md.results.SteadystateSolution.Vel.index)=md.results.SteadystateSolution.Vel.value;
    114                 j=md.results.DiagnosticSolution.J;
     114                j=md.results.SteadystateSolution.J;
     115                parameter=zeros(md.numberofgrids,1);
    115116                if strcmpi(md.control_type,'rheology_B'),
    116                         parameter(md.results.DiagnosticSolution.RheologyB.index)=md.results.DiagnosticSolution.RheologyB.value;
     117                        parameter(md.results.SteadystateSolution.RheologyB.index)=md.results.SteadystateSolution.RheologyB.value;
    117118                elseif strcmpi(md.control_type,'drag_coefficient'),
    118                         parameter(md.results.DiagnosticSolution.DragCoefficient.index)=md.results.DiagnosticSolution.DragCoefficient.value;
     119                        parameter(md.results.SteadystateSolution.DragCoefficient.index)=md.results.SteadystateSolution.DragCoefficient.value;
    119120                else
    120121                        error('not implemented yet');
Note: See TracChangeset for help on using the changeset viewer.