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

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

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

revision 1.1 by gforget, Wed Feb 10 14:43:47 2010 UTC revision 1.2 by gforget, Thu Oct 20 20:57:01 2011 UTC
# Line 1  Line 1 
1  function val = get(a, propName)  function val = get(a, propName)
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    
6  eval(['val = a.' propName ';']);  eval(['val = a.' propName ';']);
7    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.22