Changeset 27124


Ignore:
Timestamp:
06/29/22 15:37:33 (3 years ago)
Author:
Eric.Larour
Message:

CHG: new diagnostics routine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/branches/trunk-larour-SLPS2022/src/m/classes/sealevelmodel.m

    r27058 r27124  
    367367                        self.icecaps{end+1}=md;
    368368                end % }}}
     369                function icecapsinfo(self,varargin) % {{{
     370                        totalnel=0;
     371                        disp('Sealevel model basins mesh info:');
     372                        for i=1:length(self.icecaps),
     373                                md=self.icecaps{i};
     374                                disp(sprintf('  %i(%s): %i',i,md.miscellaneous.name,md.mesh.numberofelements));
     375                                totalnel=totalnel+md.mesh.numberofelements;
     376                        end
     377                        disp(sprintf('Total number of elements:%i',totalnel));
     378                end % }}}
    369379                function basinsplot3d(self,varargin) % {{{
    370380                        for i=1:length(self.basins),
Note: See TracChangeset for help on using the changeset viewer.