Changeset 25020


Ignore:
Timestamp:
06/11/20 19:39:16 (5 years ago)
Author:
Eric.Larour
Message:

CHG: updated checks for transient UQ.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/qmu/preqmu.m

    r25019 r25020  
    3838        for j=1:numel(fieldvariables)
    3939                if strncmpi(fieldvariables(j).descriptor,'scaled_',7),
    40                         npart=partition_npart(fieldvariables(j).partition);
    41                         if str2int(fieldvariables(j).descriptor,'last')>npart,
    42                                 error('preqmu error message: one of the expanded variables has more values than the number of partitions ');
     40                        npart=qmupart2npart(fieldvariables(j).partition);
     41                        nt=fieldvariables(j).nsteps;
     42                        if nt==1,
     43                                if str2int(fieldvariables(j).descriptor,'last')>npart,
     44                                        error('preqmu error message: one of the expanded variables has more values than the number of partitions ');
     45                                end
    4346                        end
    4447                end
Note: See TracChangeset for help on using the changeset viewer.