Changeset 16458


Ignore:
Timestamp:
10/18/13 12:48:38 (11 years ago)
Author:
seroussi
Message:

BUG: changing checkconsistency for requested_outpus

Location:
issm/trunk-jpl/src/m/classes
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/masstransport.m

    r16363 r16458  
    8484                        md = checkfield(md,'masstransport.stabilization','values',[0 1 2 3]);
    8585                        md = checkfield(md,'masstransport.min_thickness','>',0);
    86                         if ~isempty(md.masstransport.requested_outputs),
    87                                 md = checkfield(md,'masstransport.requested_outputs','size',[1 NaN]);
    88                         end
     86                        md = checkfield(md,'masstransport.requested_outputs','stringrow',1);
    8987
    9088                end % }}}
  • issm/trunk-jpl/src/m/classes/masstransport.py

    r16388 r16458  
    6565                md = checkfield(md,'masstransport.stabilization','values',[0,1,2,3])
    6666                md = checkfield(md,'masstransport.min_thickness','>',0)
    67                 if md.masstransport.requested_outputs:
    68                         md = checkfield(md,'masstransport.requested_outputs','cell',1)
     67                md = checkfield(md,'masstransport.requested_outputs','stringrow',1)
    6968
    7069                return md
  • issm/trunk-jpl/src/m/classes/steadystate.m

    r16363 r16458  
    3434                                md = checkmessage(md,['for a steadystate computation, timestepping.time_step must be zero.']);
    3535                        end
     36                        md = checkfield(md,'steadystate.requested_outputs','stringrow',1);
    3637
    3738                        if isnan(md.stressbalance.reltol),
  • issm/trunk-jpl/src/m/classes/steadystate.py

    r16388 r16458  
    5151                        md.checkmessage("for a steadystate computation, stressbalance.reltol (relative convergence criterion) must be defined!")
    5252
    53                 if md.steadystate.requested_outputs:
    54                         md = checkfield(md,'steadystate.requested_outputs','cell',1)
     53                md = checkfield(md,'steadystate.requested_outputs','stringrow',1)
    5554
    5655                return md
  • issm/trunk-jpl/src/m/classes/stressbalance.m

    r16363 r16458  
    9191                        md = checkfield(md,'stressbalance.referential','size',[md.mesh.numberofvertices 6]);
    9292                        md = checkfield(md,'stressbalance.loadingforce','size',[md.mesh.numberofvertices 3]);
    93                         if ~isempty(md.stressbalance.requested_outputs),
    94                                 md = checkfield(md,'stressbalance.requested_outputs','size',[1 NaN]);
    95                         end
     93                        md = checkfield(md,'stressbalance.requested_outputs','stringrow',1);
    9694
    9795                        %singular solution
  • issm/trunk-jpl/src/m/classes/stressbalance.py

    r16388 r16458  
    123123                md = checkfield(md,'stressbalance.referential','size',[md.mesh.numberofvertices,6])
    124124                md = checkfield(md,'stressbalance.loadingforce','size',[md.mesh.numberofvertices,3])
    125                 if md.stressbalance.requested_outputs:
    126                         md = checkfield(md,'stressbalance.requested_outputs','cell',1);
     125                md = checkfield(md,'stressbalance.requested_outputs','stringrow',1);
    127126
    128127                #singular solution
  • issm/trunk-jpl/src/m/classes/transient.m

    r16368 r16458  
    4545                        md = checkfield(md,'transient.isgia','numel',[1],'values',[0 1]);
    4646                        md = checkfield(md,'transient.isdamage','numel',[1],'values',[0 1]);
    47                         if ~isempty(md.transient.requested_outputs),
    48                                 md = checkfield(md,'transient.requested_outputs','size',[1 NaN]);
    49                         end
     47                        md = checkfield(md,'transient.requested_outputs','stringrow',1);
    5048
    5149                end % }}}
  • issm/trunk-jpl/src/m/classes/transient.py

    r16388 r16458  
    5656                md = checkfield(md,'transient.isgroundingline','numel',[1],'values',[0,1])
    5757                md = checkfield(md,'transient.isgia','numel',[1],'values',[0,1])
    58                 if md.transient.requested_outputs:
    59                         md = checkfield(md,'transient.requested_outputs','cell',1)
     58                md = checkfield(md,'transient.requested_outputs','stringrow',1)
    6059
    6160                return md
Note: See TracChangeset for help on using the changeset viewer.