/[MITgcm]/MITgcm_contrib/gael/matlab_class/@gcmfaces/end.m
ViewVC logotype

Annotation of /MITgcm_contrib/gael/matlab_class/@gcmfaces/end.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu Feb 23 18:14:30 2017 UTC (8 years, 4 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint66o, checkpoint66f, checkpoint66e, HEAD
- add overloaded version of end for use with subsref

1 gforget 1.1 function ind = end(self,k,n);
2     %overloaded gcmfaces end function :
3     % simply calls double end function for face #1 if the first argument is a gcmfaces object
4     % Note: is only valid for dimensions>=3
5    
6     if k<3; error('@gcmfaces/end.m is only valid for dimensions>=3'); end;
7     ind = builtin('end', self.f1, k, n);
8    

  ViewVC Help
Powered by ViewVC 1.1.22