/[MITgcm]/MITgcm_contrib/gael/matlab_class/gcmfaces_convert/convert2array_ll.m
ViewVC logotype

Annotation of /MITgcm_contrib/gael/matlab_class/gcmfaces_convert/convert2array_ll.m

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


Revision 1.1 - (hide annotations) (download)
Sun May 2 21:10:33 2010 UTC (15 years, 2 months ago) by gforget
Branch: MAIN
migration of conversion routines to gcmfaces_convert

1 gforget 1.1 function [FLD]=convert2array_ll(fld,varargin);
2    
3     if isa(fld,'gcmfaces'); do_gcmfaces2array=1; else; do_gcmfaces2array=0; end;
4    
5     if do_gcmfaces2array;
6     FLD=fld.f1;
7     else;
8     FLD=NaN*varargin{1};
9     FLD.f1=fld;
10     end;
11    
12    

  ViewVC Help
Powered by ViewVC 1.1.22