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

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

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


Revision 1.2 - (hide annotations) (download)
Thu Oct 20 20:57:01 2011 UTC (13 years, 8 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint65x, checkpoint65r, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, HEAD
Changes since 1.1: +3 -0 lines
- add help sections at the top.

1 gforget 1.1 function val = get(a, propName)
2 gforget 1.2 %overloaded gcmfaces get function :
3     % V = GET(H,'PropertyName') returns the value of the specified
4     % attribute (e.g. nFaces and gridType) of a gcmfaces object H.
5 gforget 1.1
6     eval(['val = a.' propName ';']);
7    

  ViewVC Help
Powered by ViewVC 1.1.22